build: Add common CLEANFILES and DISTCLEANFILES to common-rules.mk.

By adding common CLEANFILES and DISTCLEANFILES variables to
common-rules.mk, we can remove these from most other Makefiles, and
also clean files more consistently.

Note that bin_PROGRAMS are already cleaned by 'make clean', so I
removed cases where these were unnecessarily added to CLEANFILES.
This commit is contained in:
Richard W.M. Jones
2016-08-25 15:13:41 +01:00
parent c39d5e89c3
commit 76c0a67d30
65 changed files with 79 additions and 302 deletions

View File

@@ -31,26 +31,8 @@ EXTRA_DIST = \
make-internal-documentation.pl \
README
CLEANFILES = \
guestfs-building.1 \
guestfs-faq.1 \
guestfs-hacking.1 \
guestfs-internals.1 \
guestfs-performance.1 \
guestfs-recipes.1 \
guestfs-release-notes.1 \
guestfs-security.1 \
guestfs-testing.1 \
internal-documentation.pod \
stamp-guestfs-building.pod \
stamp-guestfs-faq.pod \
stamp-guestfs-hacking.pod \
stamp-guestfs-internals.pod \
stamp-guestfs-performance.pod \
stamp-guestfs-recipes.pod \
stamp-guestfs-release-notes.pod \
stamp-guestfs-security.pod \
stamp-guestfs-testing.pod
CLEANFILES += \
internal-documentation.pod
man_MANS = \
guestfs-building.1 \