Bob Proulx wrote:
> 
> I am wanting to use help2man to produce the man page for a program.  I
> have a Makefile.am with the following.
> 
>   dist_man_MANS = example.8
> 
>   example.8: src/example
>          help2man --output=example.8 ./src/example

Do you distribute example.8?
If not, add it to the DISTCLEANFILES,
if so, then there is a magic macro/make variable that contains
a "find" command.  Augment that find command to ignore remaining
files that were also distributed.  (Do this with a line:

  whateverthelongnamewas = find .... -exec ....

Reply via email to