[vlc-devel] [PATCH] contrib: don't unnecessary rebuild microdns

Andrey Gursky andrey.gursky at e-mail.ua
Tue May 31 02:59:11 CEST 2016


As a rule the content of a tarball doesn't have newer timestamps than the
tarball file itself. Thus after unpacking the directory microdns has an
older timestamp than the tarball file. Every time make runs, it thinks the
tarball has been updated and microdns must be rebuilt.

To avoid this, additionally touch the directory microdns after unpacking,
which is already included in a predefined command MOVE.
---
 contrib/src/microdns/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/microdns/rules.mak b/contrib/src/microdns/rules.mak
index 804d2a5..a1ec73b 100644
--- a/contrib/src/microdns/rules.mak
+++ b/contrib/src/microdns/rules.mak
@@ -17,7 +17,7 @@ $(TARBALLS)/microdns-$(LIBMICRODNS_VERSION).tar.gz:
 
 microdns: microdns-$(LIBMICRODNS_VERSION).tar.gz .sum-microdns
        $(UNPACK)
-       mv microdns-$(LIBMICRODNS_VERSION) microdns
+       $(MOVE)
 
 .microdns: microdns
        cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
-- 
2.8.1


More information about the vlc-devel mailing list