From 72a63702851a26becd24e71dd4d4477435bdbc53 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 26 Oct 2015 15:49:14 +0100 Subject: BUILD: Fix cleanup without NLS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Manual pages were not cleaned by default. They were cleaned in make distcheck because USE_NLS was yes. Reviewed-by: Michal Židek --- src/man/Makefile.am | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/man/Makefile.am b/src/man/Makefile.am index 70cadf595..565fab1be 100644 --- a/src/man/Makefile.am +++ b/src/man/Makefile.am @@ -161,8 +161,7 @@ dist-hook: man.stamp fi -clean-local-no: -clean-local-yes: +clean-local: for lang in $(LINGUAS); do \ if [ -d $$lang ]; then \ rm -rf $$lang; \ @@ -176,18 +175,12 @@ else man.stamp: $(XML_DOC) touch $@ -clean-local-no: -clean-local-yes: +clean-local: rm -f $(man_MANS) rm -f man.stamp endif -clean-local: clean-local-@USE_NLS@ -distclean-local: clean-local-@USE_NLS@ -mostlyclean-local: clean-local-@USE_NLS@ -maintainer-clean-local: clean-local-@USE_NLS@ - # Generate translated manual pages all-local: all-local-@USE_NLS@ all-local-no: -- cgit