summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-10-26 15:49:14 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-10-30 11:10:03 +0100
commit72a63702851a26becd24e71dd4d4477435bdbc53 (patch)
treeedc99537d69da4887e6117a7abe1070929e6fde9
parent284c22c191963f11e5c07ba6d14dcd8dc7e494fe (diff)
downloadsssd-72a63702851a26becd24e71dd4d4477435bdbc53.tar.gz
sssd-72a63702851a26becd24e71dd4d4477435bdbc53.tar.xz
sssd-72a63702851a26becd24e71dd4d4477435bdbc53.zip
BUILD: Fix cleanup without NLS
Manual pages were not cleaned by default. They were cleaned in make distcheck because USE_NLS was yes. Reviewed-by: Michal Židek <mzidek@redhat.com>
-rw-r--r--src/man/Makefile.am11
1 files 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: