* 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>
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