Commit 0123102c authored by Tollef Fog Heen's avatar Tollef Fog Heen

Support out-of-tree builds, and make sure to clean up after ourselves. Both...

Support out-of-tree builds, and make sure to clean up after ourselves.  Both aka "make make distcheck work"


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3067 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 794d5a5f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment