* Ralf Wildenhues wrote on Mon, Apr 19, 2010 at 06:55:30PM CEST: > * Russ Allbery wrote on Fri, Apr 16, 2010 at 10:27:11PM CEST: > > Ole Tange writes: > > > $ cat src/Makefile.am > > > dist_bin_SCRIPTS = parallel > > > man_MANS = parallel.1 > > > > > parallel.1: parallel > > > pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \ > > > --section=1 parallel > parallel.1 > > The rule command lines must be indented with a leading TAB. > > > > CLEANFILES = parallel.1 > > Commonly, the rule is that 'make clean' cleans the stuff made by 'make' > but your tarball will contain parallel.1 already (which I think is a > good idea, because then your users won't need pod2man installed); you > could put it into MAINTAINERCLEANFILES or DISTCLEANFILES instead.
Erm, that comment of mine would only apply if you had used dist_man_MANS instead of man_MANS, and in that case, it would probably be a good idea to prefix parallel.1 with $(srcdir)/ everywhere. Sorry about the confusion.