summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-05 10:33:03 +0100
committerJim Meyering <meyering@redhat.com>2008-03-05 10:36:21 +0100
commitc7d33788e02259c43bfe33815626018be88127a7 (patch)
tree75335791d180eca7ab2ae49a0299ba024a64f857 /GNUmakefile
parent07bc841590ceccf8eac9a98d55001bb0412f5299 (diff)
downloadcoreutils-c7d33788e02259c43bfe33815626018be88127a7.tar.xz
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 <meyering@redhat.com>
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 0 insertions, 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