* Makefile.in: Set LINGUAS to empty if ENABLE_NLS is undefined.
This commit is contained in:
parent
fcda2a1f80
commit
5cf691510f
2 changed files with 8 additions and 0 deletions
|
@ -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,
|
||||||
|
|
|
@ -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@
|
||||||
|
|
Loading…
Reference in a new issue