From c7d33788e02259c43bfe33815626018be88127a7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Mar 2008 10:33:03 +0100 Subject: 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 --- GNUmakefile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 95758f5e5..719cfadb1 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 -- cgit v1.2.3-70-g09d2