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

Andrey Gursky git at videolan.org
Tue May 31 09:10:35 CEST 2016


vlc | branch: master | Andrey Gursky <andrey.gursky at e-mail.ua> | Tue May 31 02:59:11 2016 +0200| [3d6417a1ce00d048544955d1910d3f555b91d484] | committer: Thomas Guillem

contrib: don't unnecessary rebuild microdns

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.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d6417a1ce00d048544955d1910d3f555b91d484
---

 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)



More information about the vlc-commits mailing list