[lxc-devel] [PATCH] Fix 'make clean'

Stéphane Graber stgraber at ubuntu.com
Tue Mar 26 18:04:45 UTC 2013


This is mostly to make debuild happy as it doesn't tolerate any
leftover file when building twice in a row.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/Makefile.am            | 2 +-
 src/python-lxc/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index b588712..1a24695 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -60,6 +60,6 @@ endif
 
 lxc-%.sgml : common_options.sgml see_also.sgml
 
-maintainer-clean-local:
+clean-local:
 	$(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
 endif
diff --git a/src/python-lxc/Makefile.am b/src/python-lxc/Makefile.am
index bdb6dbd..f81dbff 100644
--- a/src/python-lxc/Makefile.am
+++ b/src/python-lxc/Makefile.am
@@ -16,7 +16,7 @@ install:
 		$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \
 	fi
 
-clean:
+clean-local:
 	rm -rf build
 
 endif
-- 
1.8.1.2





More information about the lxc-devel mailing list