[4.0] c191685 Ensure source tree is built before running make dist

Tollef Fog Heen tfheen at err.no
Thu Mar 13 10:24:23 CET 2014


commit c191685566820de1ce5da2bcf49a5bc3d7537e5c
Author: Tollef Fog Heen <tfheen at fastly.com>
Date:   Wed Feb 5 13:50:27 2014 +0100

    Ensure source tree is built before running make dist

diff --git a/Makefile.am b/Makefile.am
index 2eb3af4..2aa609f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,6 +36,11 @@ distcleancheck_listfiles = \
 	find . -type f -exec sh -c 'test -f $(srcdir)/$$1 || echo $$1' \
 		sh '{}' ';'
 
+# XXX: This is a hack to ensure we have a built source tree when
+# running make dist If we had used non-recursive make we could have
+# solved it better, but we don't, so use this at least for now.
+LICENSE: all
+
 cscope:
 	-rm -f cscope*
 	find . -name '*.[hcS]' > cscope.files



More information about the varnish-commit mailing list