diff options
author | Sumit Bose <sbose@redhat.com> | 2011-02-16 22:06:40 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-02-17 07:49:46 -0500 |
commit | 44ca4ec72b85c875b91842084834c25b144adf0c (patch) | |
tree | 5c50acdc16599d7c1b4bb7f853f950083b32b3dd /src/man | |
parent | 89be00e5656755489a9397a82a58c08e19608de4 (diff) | |
download | sssd-44ca4ec72b85c875b91842084834c25b144adf0c.tar.gz sssd-44ca4ec72b85c875b91842084834c25b144adf0c.tar.bz2 sssd-44ca4ec72b85c875b91842084834c25b144adf0c.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.
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/man/Makefile.am b/src/man/Makefile.am index b436b9e8..f84cc2f4 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"; \ |