Makefile
Makefile.in
THANKS-to-translators
+VERSION
aclocal.m4
autom4te.cache
config.cache
2008-01-26 Jim Meyering <meyering@redhat.com>
+ Ensure that each version string change propagates to man pages.
+ * man/Makefile.am (common_dep): Don't depend on configure.ac for
+ version changes. Instead, depend on ../VERSION.
+ (../VERSION): New rule.
+ * Makefile.am (DISTCLEANFILES): Define.
+ * GNUmakefile: Update ./VERSION.
+ * .gitignore: List VERSION.
+ Reported by Sven Joachim.
+
Avoid cp/preserve-gid test failure on Mac OS 10.5.1 (Darwin 9.1)
* tests/cp/preserve-gid: Set group as well as owner on ".".
Reported by Elias Pipping.
# It is necessary if you want to build targets usually of interest
# only to the maintainer.
-# Copyright (C) 2001, 2003, 2006-2007 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2006-2008 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
ifneq ($(_curr-ver),$(VERSION))
$(info INFO: running autoreconf for new version string: $(_curr-ver))
dummy := $(shell rm -rf autom4te.cache; autoreconf)
+ dummy := $(shell echo $(_curr-ver) > VERSION)
endif
endif
endif
# Make coreutils. -*-Makefile-*-
-# Copyright (C) 1990, 1993-2007 Free Software Foundation, Inc.
+# Copyright (C) 1990, 1993-2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
distcheck-hook:
$(MAKE) my-distcheck
+DISTCLEANFILES = VERSION
MAINTAINERCLEANFILES = THANKS-to-translators
THANKS-to-translators: po/LINGUAS THANKStt.in
( \
# Make coreutils man pages. -*-Makefile-*-
-# Copyright (C) 2002-2007 Free Software Foundation, Inc.
+# Copyright (C) 2002-2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
EXTRA_DIST = $(man_aux) $(NO_INSTALL_PROGS_DEFAULT:%=%.x) help2man
MAINTAINERCLEANFILES = $(dist_man_MANS)
-# Depend on configure.ac to get version number changes.
-common_dep = $(top_srcdir)/configure.ac
+# Depend on ../VERSION to get version number changes.
+common_dep = ../VERSION
# Note that arch depends on uname.c
arch.1: $(common_dep) $(srcdir)/arch.x ../src/uname.c
|| { echo missing $$p.x 1>&2; status=1; }; \
done; \
exit $$status
+
+../VERSION:
+ echo $(VERSION) > $@-t && mv $@-t $@