allow wmlxgettext location to be overriden from Makevars

This commit is contained in:
Yann Dirson 2004-11-08 22:50:41 +00:00
parent c5ebb30ce0
commit 6f1d925d74

View file

@ -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 \