summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-02-16 22:06:40 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-02-17 07:35:00 -0500
commit88607bc4e54cf31ea5d2589768575cdfe9814533 (patch)
tree7d4d26d573063a542897aa4a8ffd536622c992ca
parentd86c3e8a1cad13635192314206928dc38896a0a9 (diff)
downloadsssd-88607bc4e54cf31ea5d2589768575cdfe9814533.tar.gz
sssd-88607bc4e54cf31ea5d2589768575cdfe9814533.tar.xz
sssd-88607bc4e54cf31ea5d2589768575cdfe9814533.zip
Fix for generating lists of translated man pages
In some automatic build environments the lists of translated man pages were not generated properly because ls put multiple file names into a single single.
-rw-r--r--src/man/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/man/Makefile.am b/src/man/Makefile.am
index b436b9e83..f84cc2f46 100644
--- a/src/man/Makefile.am
+++ b/src/man/Makefile.am
@@ -134,8 +134,8 @@ all-local-yes: man.stamp
if [ -z $$recursion ]; then \
for lang in $(LINGUAS); do \
if [ -d $$lang ]; then \
- sources=$$(ls $$lang/*.xml); \
- manpages=$$(echo $$sources | $(SED) 's/\.xml//'); \
+ sources=$$(ls -1 $$lang/*.xml); \
+ manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \
$(MAKE) recursion=1 man_MANS="$$manpages"; \
fi \
done \
@@ -146,8 +146,8 @@ install-data-local-no:
install-data-local-yes:
for lang in $(LINGUAS); do \
if [ -d $$lang ]; then \
- sources=$$(ls $$lang/*.xml); \
- manpages=$$(echo $$sources | $(SED) 's/\.xml//'); \
+ sources=$$(ls -1 $$lang/*.xml); \
+ manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \
$(MAKE) install-man \
mandir="$(mandir)/$$lang" \
man_MANS="$$manpages"; \
@@ -159,8 +159,8 @@ uninstall-local-no:
uninstall-local-yes:
for lang in $(LINGUAS); do \
if [ -d $$lang ]; then \
- sources=$$(ls $$lang/*.xml); \
- manpages=$$(echo $$sources | $(SED) 's/\.xml//'); \
+ sources=$$(ls -1 $$lang/*.xml); \
+ manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \
$(MAKE) uninstall-man \
mandir="$(mandir)/$$lang" \
man_MANS="$$manpages"; \