From: tfheen Date: Wed, 6 Aug 2008 12:40:34 +0000 (+0000) Subject: Support out-of-tree builds, and make sure to clean up after ourselves. Both aka... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abdfff0077b15059a9d1ba73702538f5a5929be9;p=varnish Support out-of-tree builds, and make sure to clean up after ourselves. Both aka "make make distcheck work" git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3067 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/Makefile.am b/varnish-cache/bin/varnishd/Makefile.am index 466f8457..5aa0ce65 100644 --- a/varnish-cache/bin/varnishd/Makefile.am +++ b/varnish-cache/bin/varnishd/Makefile.am @@ -79,11 +79,14 @@ varnishd_LDADD = \ $(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