binutils: doc: make `make clean` clean more things
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 18 Sep 2019 13:14:59 +0000 (09:14 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 18 Sep 2019 13:14:59 +0000 (09:14 -0400)
commit2b44a6a237320a390284b1a8237a6bed67d5401f
tree690e26576f0515ad08b9e4c528551ad20f37cedc
parent89ae5e692398f008d06a8e38d1b531131f41a683
binutils: doc: make `make clean` clean more things

There is a bunch of things left over after a `make clean` in the doc
directory.  This patch changes the Makefile so that everything built by
make is cleaned:

- man pages (the man_MANS variable)
- cxxfilt.man
- binutils.info

I am not sure why the last one was in MAINTAINERCLEANFILES.  It's
generated from binutils.texi using makeinfo, and it's not particularly
long to build, so I don't see why it shouldn't be cleaned like the other
files.

Note: with my automake 1,15.1 (built from source), I get a spurious diff
in Makefile.in, where the

  runstatedir = @runstatedir@

line gets removed.  I am not sure why, but I haven't included it.

binutils/ChangeLog:

* doc/Makefile.am (MOSTLYCLEANFILES): Clean all man pages,
cxxfilt.man and binutils.info.
(MAINTAINERCLEANFILES): Remove.
* doc/Makefile.in: Re-generate.
binutils/ChangeLog
binutils/doc/Makefile.am
binutils/doc/Makefile.in
This page took 0.026185 seconds and 4 git commands to generate.