only install translated manpages when nls is enabled
Mike Frysinger <[email protected]> Sat, 3 Sep 2005 17:42:43 -0400
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Organization | wh0rd.org |
| Message-ID | <[email protected]> |
the current man tree installs all translated manpages even if shadow was built with --disable-nls ... find attached a patch which fixes this -mike
shadow-nls-manpages.patch
(text/x-diff, 495 B)
Index: man/Makefile.am =================================================================== RCS file: /cvsroot/shadow/man/Makefile.am,v retrieving revision 1.39 diff -u -p -r1.39 Makefile.am --- man/Makefile.am 31 Aug 2005 19:20:12 -0000 1.39 +++ man/Makefile.am 3 Sep 2005 21:42:06 -0000 @@ -1,6 +1,10 @@ # subdirectories for translated manual pages +ifeq ($(USE_NLS),yes) SUBDIRS = cs de es fr hu id it ja ko pl pt_BR ru zh_CN zh_TW +else +SUBDIRS = +endif man_XMANS = \ chage.1.xml \