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:49:56 -0500
commit56b2159b8fe3f5c4f491f89f7ecc135ba6950fe7 (patch)
treedba4f77bce434b00e1ea79773b581afefea88332
parentc2d0215c73833e9b148e7ff544508f5c485150d5 (diff)
downloadsssd-56b2159b8fe3f5c4f491f89f7ecc135ba6950fe7.tar.gz
sssd-56b2159b8fe3f5c4f491f89f7ecc135ba6950fe7.tar.xz
sssd-56b2159b8fe3f5c4f491f89f7ecc135ba6950fe7.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"; \