From a7f5e64909fa24ecf2ef72a8cc3070cf38332842 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Jan 2008 15:16:17 +0100 Subject: Avoid "make distcheck" failure: newly-created man/*.1 files not removed * Makefile.am (EXTRA_DIST): Add .version. (.version): New rule. (dist-hook): Don't create $(distdir)/.version here, now that it's being distributed. * man/Makefile.am (common_dep): Use ../.version, not ../VERSION. (../VERSION): Remove rule. * GNUmakefile (dummy): Create .version, not VERSION. Add an extra "...:= $(shell..." statement to ensure that .version exists even when the preceding code is not run. * .gitignore: Remove both .version and VERSION. Signed-off-by: Jim Meyering --- .gitignore | 2 -- 1 file changed, 2 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index f5ba5fd63..5983d4c3b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,13 +5,11 @@ */.deps *~ .gdb-history -.version ABOUT-NLS INSTALL Makefile Makefile.in THANKS-to-translators -VERSION aclocal.m4 autom4te.cache config.cache -- cgit v1.2.3-54-g00ecf