r4096 - trunk/varnish-cache/lib/libvarnish
des at projects.linpro.no
des at projects.linpro.no
Sat Jun 6 18:03:53 CEST 2009
Author: des
Date: 2009-06-06 18:03:53 +0200 (Sat, 06 Jun 2009)
New Revision: 4096
Modified:
trunk/varnish-cache/lib/libvarnish/Makefile.am
Log:
Remove the svn_version hack, which was made redundant by r4093.
Modified: trunk/varnish-cache/lib/libvarnish/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnish/Makefile.am 2009-06-06 16:01:39 UTC (rev 4095)
+++ trunk/varnish-cache/lib/libvarnish/Makefile.am 2009-06-06 16:03:53 UTC (rev 4096)
@@ -16,7 +16,6 @@
flopen.c \
inxorcise.c \
num.c \
- svn_version.c \
time.c \
tcp.c \
vct.c \
@@ -31,23 +30,6 @@
libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS} ${LIBM}
-DISTCLEANFILES = svn_version.c
-svn_version.c: FORCE
- V="$$(git log -n 1 --pretty=format:%h 2>/dev/null || svnversion -n $(top_srcdir))" \
- H="$$(head -n 1 svn_version.c 2>/dev/null || true)"; \
- if [ "/* $$V */" != "$$H" ]; then \
- ( \
- echo "/* $$V */" ;\
- echo "#include <libvarnish.h>" ;\
- echo "const char* svn_version(void)" ;\
- echo "{" ;\
- echo " const char* SVN_Version = \"$$V\";" ;\
- echo " return SVN_Version;" ;\
- echo "}" ;\
- ) > svn_version.c ; \
- fi
-FORCE:
-
if ENABLE_TESTS
TESTS = num_c_test
More information about the varnish-commit
mailing list