This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: files left after distclean: How to clean those?
- From: Bruce Korb <bkorb at pacbell dot net>
- To: Bob Proulx <bob at proulx dot com>
- Cc: automake at mail dot gnu dot org
- Date: Mon, 19 Aug 2002 13:51:40 -0700
- Subject: Re: files left after distclean: How to clean those?
- References: <20020819202132.GA758@misery.proulx.com>
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 ....