Fix VPATH build issue

The source *.po files weren't found when you configured outside of the
top source directory.
merge-requests/1/head
Olaf Meeuwissen 2016-06-25 15:23:05 +09:00
rodzic 00984cd111
commit eecee6d101
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -70,7 +70,7 @@ $(GETTEXT_PACKAGE).pot: $(SRC_FILES)
update: $(GETTEXT_PACKAGE).pot
@for lang in $(PO_LINGUAS) ; do \
pofile=$${lang}.po ; \
pofile=$(srcdir)/$${lang}.po ; \
if test ! -f $${pofile} ; then \
echo "creating $${pofile}" ; \
cp template.po $${pofile} ; \

Wyświetl plik

@ -536,7 +536,7 @@ $(GETTEXT_PACKAGE).pot: $(SRC_FILES)
update: $(GETTEXT_PACKAGE).pot
@for lang in $(PO_LINGUAS) ; do \
pofile=$${lang}.po ; \
pofile=$(srcdir)/$${lang}.po ; \
if test ! -f $${pofile} ; then \
echo "creating $${pofile}" ; \
cp template.po $${pofile} ; \