From 04aaa6ddfce98870b0c0a71f7cd27e629a81fcda Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 13 Mar 2014 09:13:04 +0000 Subject: [PATCH] appliance: Fix 'make clean' in appliance subdirectory. Commit 71dfd73042db24217329d815bf5eab26f413d97f broke 'make clean' in the appliance subdirectory, so it would remove all the supermin.d/* files, but without removing stamp-supermin so you couldn't rebuild supermin.d/ with a 'make' afterwards. In any case, 'make clean' is not supposed to delete the appliance (which is expensive to rebuild). Fix this so that 'make clean' doesn't remove supermin.d/* files. 'make distclean' can be used to delete this, and since it also removes stamp-supermin, it will be recreated properly by 'make'. --- appliance/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appliance/Makefile.am b/appliance/Makefile.am index 7fb107722..fac24ed73 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -140,5 +140,8 @@ stamp-libguestfs-make-fixed-appliance.pod: libguestfs-make-fixed-appliance.pod CLEANFILES = \ *~ \ libguestfs-make-fixed-appliance.1 \ - stamp-libguestfs-make-fixed-appliance.pod \ + stamp-libguestfs-make-fixed-appliance.pod + +DISTCLEANFILES = \ + stamp-supermin \ supermin.d/*