Avoid "make distcheck" failure: newly-created man/*.1 files not removed
authorJim Meyering <meyering@redhat.com>
Mon, 28 Jan 2008 14:16:17 +0000 (15:16 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 29 Jan 2008 08:40:31 +0000 (09:40 +0100)
commita7f5e64909fa24ecf2ef72a8cc3070cf38332842
tree3f973f5ca4f7e65706c2d1ffcf09231c3e024e71
parent533391a2a75f49da27adc71214caeeb4ef07d81c
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 <meyering@redhat.com>
.gitignore
ChangeLog
GNUmakefile
Makefile.am
man/Makefile.am