build: generate doc/*.1 files; include help2man
commitda0f9ab4e4b15e9d5ff6f7474ab2c0ea8007f03d
authorJim Meyering <meyering@redhat.com>
Thu, 12 Apr 2012 13:07:19 +0000 (12 15:07 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 12 Apr 2012 16:49:24 +0000 (12 18:49 +0200)
treedac5e43f6408b1333df1e66d3028ddc9600142f1
parent15d4a60bec70bee6c4ddd4020dc74e669f4d3174
build: generate doc/*.1 files; include help2man

This change is required to avoid making a distributed file depend
on a generated (non-distributed) one.  The preceding change
introduced one such dependency, with the distributed doc/*.1
depending on the generated aclocal and automake files.  Here,
we avoid the problem by generating the doc/*.1 files rather than
distributing them.

* doc/help2man: New file, version 1.37.1.
* Makefile.am (EXTRA_DIST): Add doc/help2man.
(man1_MANS): Rename from $(dist_man1_MANS).  Remove $(srcdir) prefix.
(CLEANFILES): Add these files here, rather than to
$(MAINTAINERCLEANFILES), since we are no longer distributing them.
(update_mans): Use doc/help2man, not $(HELP2MAN).
* configure.ac: Don't test for help2man, now that we bundle it.
Makefile.am
configure.ac
doc/help2man [new file with mode: 0755]