diff --git a/ChangeLog b/ChangeLog index 94f90ce73..e2bcc44f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-07-05 Colin Watson + + * Makefile.in: Set LINGUAS to empty if ENABLE_NLS is undefined. + 2010-07-05 Colin Watson * Makefile.in (MAINTAINER_CLEANFILES): Add unicode/UnicodeData.txt, diff --git a/Makefile.in b/Makefile.in index 9fec32c69..ec3b72296 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,9 +53,13 @@ XGETTEXT = @XGETTEXT@ MSGMERGE = @MSGMERGE@ MSGFMT = @MSGFMT@ +ifdef ENABLE_NLS LINGUAS = $(shell for i in $(srcdir)/po/*.po ; do \ if test -e $$i ; then echo $$i ; fi ; \ done | sed -e "s,.*/po/\(.*\)\.po$$,\1,") +else +LINGUAS = +endif PACKAGE = @PACKAGE@ PACKAGE_NAME = @PACKAGE_NAME@