r3067 - trunk/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Wed Aug 6 14:40:34 CEST 2008


Author: tfheen
Date: 2008-08-06 14:40:34 +0200 (Wed, 06 Aug 2008)
New Revision: 3067

Modified:
   trunk/varnish-cache/bin/varnishd/Makefile.am
Log:
Support out-of-tree builds, and make sure to clean up after ourselves.  Both aka "make make distcheck work"


Modified: trunk/varnish-cache/bin/varnishd/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishd/Makefile.am	2008-08-06 12:16:18 UTC (rev 3066)
+++ trunk/varnish-cache/bin/varnishd/Makefile.am	2008-08-06 12:40:34 UTC (rev 3067)
@@ -79,11 +79,14 @@
 	$(top_builddir)/lib/libvcl/libvcl.la \
 	${DL_LIBS} ${PTHREAD_LIBS} ${NET_LIBS} ${LIBM}
 
+EXTRA_DIST = default.vcl
+DISTCLEANFILES = default_vcl.h
+
 #
 # Turn the default.vcl file into a C-string we can include in the program.
 #
 default_vcl.h:	default.vcl Makefile
-	sed -e 's/"/\\"/g' -e 's/$$/\\n"/' -e 's/^/	"/' default.vcl > $@
+	sed -e 's/"/\\"/g' -e 's/$$/\\n"/' -e 's/^/	"/' $(srcdir)/default.vcl > $@
 
 # Explicitly record dependency
 mgt_vcc.c:	default_vcl.h




More information about the varnish-commit mailing list