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