summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--daemon/Makefile.am4
-rw-r--r--examples/Makefile.am2
-rw-r--r--fish/Makefile.am2
-rw-r--r--images/Makefile.am2
-rw-r--r--ocaml/Makefile.am2
-rw-r--r--perl/Makefile.am2
-rw-r--r--python/Makefile.am2
-rw-r--r--src/Makefile.am4
9 files changed, 19 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index f2cb9d93..55e5dde9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -146,7 +146,7 @@ test-boot-realistic: emptydisk
# Make clean.
-CLEANFILES = $(fs_DATA) emptydisk pod2htm?.tmp
+CLEANFILES = $(fs_DATA) emptydisk pod2htm?.tmp *~ html/*~
clean-local:
rm -rf initramfs
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index bdeeacfe..c5ae1efc 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -34,4 +34,6 @@ guestfsd_SOURCES = \
../src/guestfs_protocol.h \
../src/guestfs_protocol.c
-guestfsd_CFLAGS = -Wall \ No newline at end of file
+guestfsd_CFLAGS = -Wall
+
+CLEANFILES = *~
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 9bac5f36..cafb7f99 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -9,3 +9,5 @@ df_LDADD = $(top_builddir)/src/libguestfs.la
hello_SOURCES = hello.c
hello_CFLAGS = -I$(top_builddir)/src -Wall
hello_LDADD = $(top_builddir)/src/libguestfs.la
+
+CLEANFILES = *~
diff --git a/fish/Makefile.am b/fish/Makefile.am
index 76a2894f..b9c51b88 100644
--- a/fish/Makefile.am
+++ b/fish/Makefile.am
@@ -25,3 +25,5 @@ guestfish_CFLAGS = \
-I$(top_builddir)/src -Wall \
-DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"'
guestfish_LDADD = $(top_builddir)/src/libguestfs.la
+
+CLEANFILES = *~
diff --git a/images/Makefile.am b/images/Makefile.am
index 99266ad1..e9ea2f44 100644
--- a/images/Makefile.am
+++ b/images/Makefile.am
@@ -16,3 +16,5 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
EXTRA_DIST = mbr-ext2-empty.img.gz
+
+CLEANFILES = *~
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index 00e8027e..ee42134b 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -22,6 +22,8 @@ EXTRA_DIST = \
SUBDIRS = examples
+CLEANFILES = *~
+
if HAVE_OCAML
noinst_DATA = mlguestfs.cma mlguestfs.cmxa META
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 24548ed9..c72d0452 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -25,6 +25,8 @@ EXTRA_DIST = \
examples/*.pl \
t/*.t
+CLEANFILES = *~ examples/*~ t/*~
+
if HAVE_PERL
# Interfacing automake and ExtUtils::MakeMaker known to be
diff --git a/python/Makefile.am b/python/Makefile.am
index e4ef9e89..509e87ca 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -17,6 +17,8 @@
EXTRA_DIST = README-python-bindings
+CLEANFILES = *~
+
if HAVE_PYTHON
endif \ No newline at end of file
diff --git a/src/Makefile.am b/src/Makefile.am
index de026220..20b445c3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -47,4 +47,6 @@ guestfs_protocol.h: guestfs_protocol.x
rm -f $@-t
$(RPCGEN) -h -o $@-t $<
mv $@-t $@
-endif \ No newline at end of file
+endif
+
+CLEANFILES = *~