From abdfff0077b15059a9d1ba73702538f5a5929be9 Mon Sep 17 00:00:00 2001 From: tfheen Date: Wed, 6 Aug 2008 12:40:34 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5