mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -114,11 +114,10 @@ endif ENABLE_APPLIANCE
|
||||
endif HAVE_PYTHON
|
||||
|
||||
# Extra clean.
|
||||
CLEANFILES = \
|
||||
*~ *.pyc \
|
||||
CLEANFILES += \
|
||||
*.pyc \
|
||||
examples/*~ examples/*.pyc \
|
||||
t/*~ t/*.pyc \
|
||||
bindtests.tmp \
|
||||
config.h \
|
||||
guestfs-internal-all.h \
|
||||
guestfs-internal-frontend-cleanups.h \
|
||||
|
||||
@@ -23,11 +23,9 @@ EXTRA_DIST = \
|
||||
inspect_vm.py \
|
||||
guestfs-python.pod
|
||||
|
||||
CLEANFILES = \
|
||||
CLEANFILES += \
|
||||
*.pyc \
|
||||
*.pyo \
|
||||
guestfs-python.3 \
|
||||
stamp-guestfs-python.pod
|
||||
*.pyo
|
||||
|
||||
man_MANS = guestfs-python.3
|
||||
noinst_DATA = $(top_builddir)/website/guestfs-python.3.html
|
||||
|
||||
Reference in New Issue
Block a user