allow wmlxgettext location to be overriden from Makevars
This commit is contained in:
parent
c5ebb30ce0
commit
6f1d925d74
1 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,7 @@ mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
|
|||
GMSGFMT = @GMSGFMT@
|
||||
MSGFMT = @MSGFMT@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
WMLXGETTEXT := $(top_srcdir)/utils/wmlxgettext
|
||||
MSGMERGE = msgmerge
|
||||
MSGMERGE_UPDATE = @MSGMERGE@ --update
|
||||
MSGINIT = msginit
|
||||
|
@ -114,7 +115,7 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
|
|||
--keyword=_ --keyword=N_ \
|
||||
--output=- | sed s/charset=CHARSET/charset=UTF-8/ > $(DOMAIN).cpp.po
|
||||
if test -r $(srcdir)/FINDCFG ;\
|
||||
then $(top_srcdir)/utils/wmlxgettext --directory=$(top_srcdir) \
|
||||
then ${WMLXGETTEXT} --directory=$(top_srcdir) \
|
||||
`cd $(top_srcdir) && sh $(subdir)/FINDCFG` > $(DOMAIN).wml.po ;\
|
||||
fi
|
||||
if test -f $(DOMAIN).wml.po ; then \
|
||||
|
|
Loading…
Add table
Reference in a new issue