From: Jim Meyering Date: Wed, 5 Mar 2008 09:33:03 +0000 (+0100) Subject: Avoid new "make distcheck" failure, now that VPATH has GNUmakefile. X-Git-Tag: v6.11~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7d33788e02259c43bfe33815626018be88127a7;p=thirdparty%2Fcoreutils.git Avoid new "make distcheck" failure, now that VPATH has GNUmakefile. * GNUmakefile: Remove commands to create ".version". They were unnecessary, and caused creation of a newer .version file in a VPATH build, which in turn caused creation of updated man/*.1 files reflecting the newer time stamp on .version. Those *.1 files were not removed (since they're distributed), and the fact that they remained after "distclean" triggered the failure. Signed-off-by: Jim Meyering --- diff --git a/GNUmakefile b/GNUmakefile index 95758f5e57..719cfadb1b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -53,19 +53,10 @@ ifeq (0,$(MAKELEVEL)) ifneq ($(_curr-ver),$(VERSION)) $(info INFO: running autoreconf for new version string: $(_curr-ver)) _dummy := $(shell rm -rf autom4te.cache; (cd $(srcdir) && autoreconf)) - _created_version_file = 1 endif endif endif -ifneq ($(_curr-ver),$(VERSION)) - _dummy := $(shell echo $(_curr-ver) > .version) -endif - -ifneq ($(_created_version_file),1) - _dummy := $(shell test -f .version || echo $(VERSION) > .version) -endif - include $(srcdir)/Makefile.cfg include $(srcdir)/Makefile.maint