[master] 6d95f94 Mark vcs_version.h as a BUILT_SOURCE

Tollef Fog Heen tfheen at varnish-cache.org
Mon Jun 6 13:25:08 CEST 2011


commit 6d95f94a896723c17f82807e0661903da5edb5a8
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Mon Jun 6 13:14:33 2011 +0200

    Mark vcs_version.h as a BUILT_SOURCE
    
    This should work around build problems
    
    Also mark vcs_version.h as a maintainer built file, not a
    configure-built file.

diff --git a/lib/libvarnish/Makefile.am b/lib/libvarnish/Makefile.am
index 4949610..68d0ac3 100644
--- a/lib/libvarnish/Makefile.am
+++ b/lib/libvarnish/Makefile.am
@@ -33,9 +33,8 @@ libvarnish_la_SOURCES = \
 libvarnish_la_CFLAGS = -DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"'
 libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS} ${LIBM} @PCRE_LIBS@
 
-version.o: vcs_version.h
-
-DISTCLEANFILES = vcs_version.h
+BUILT_SOURCES = vcs_version.h
+MAINTAINERCLEANFILES = vcs_version.h
 vcs_version.h: FORCE
 	if [ -d "$(top_srcdir)/.git" ]; then \
 		V="$$(git describe --always)" \



More information about the varnish-commit mailing list