From: Stéphane Graber Date: Tue, 26 Mar 2013 18:03:17 +0000 (-0400) Subject: Fix 'make clean' X-Git-Tag: lxc-0.9.0~1^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a42db48e0bcf4f34b05a3de1cda23e06f51d131;p=thirdparty%2Flxc.git Fix 'make clean' 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 Acked-by: Serge E. Hallyn --- diff --git a/doc/Makefile.am b/doc/Makefile.am index b5887123d..1a2469548 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 bdb6dbdd7..f81dbff53 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