automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minimal example for perl program


From: Ralf Wildenhues
Subject: Re: Minimal example for perl program
Date: Mon, 19 Apr 2010 19:16:33 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

* 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]