* Makefile.in: Set LINGUAS to empty if ENABLE_NLS is undefined.

This commit is contained in:
Colin Watson 2010-07-05 09:29:02 +01:00
parent fcda2a1f80
commit 5cf691510f
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2010-07-05 Colin Watson <cjwatson@ubuntu.com>
* Makefile.in: Set LINGUAS to empty if ENABLE_NLS is undefined.
2010-07-05 Colin Watson <cjwatson@ubuntu.com> 2010-07-05 Colin Watson <cjwatson@ubuntu.com>
* Makefile.in (MAINTAINER_CLEANFILES): Add unicode/UnicodeData.txt, * Makefile.in (MAINTAINER_CLEANFILES): Add unicode/UnicodeData.txt,

View file

@ -53,9 +53,13 @@ XGETTEXT = @XGETTEXT@
MSGMERGE = @MSGMERGE@ MSGMERGE = @MSGMERGE@
MSGFMT = @MSGFMT@ MSGFMT = @MSGFMT@
ifdef ENABLE_NLS
LINGUAS = $(shell for i in $(srcdir)/po/*.po ; do \ LINGUAS = $(shell for i in $(srcdir)/po/*.po ; do \
if test -e $$i ; then echo $$i ; fi ; \ if test -e $$i ; then echo $$i ; fi ; \
done | sed -e "s,.*/po/\(.*\)\.po$$,\1,") done | sed -e "s,.*/po/\(.*\)\.po$$,\1,")
else
LINGUAS =
endif
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_NAME = @PACKAGE_NAME@