parent
00e1cccb5e
commit
120577d003
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -52,7 +52,13 @@ $(MOFILES): %.mo: %.po
|
||||||
|
|
||||||
$(POFILES): %: $(POT)
|
$(POFILES): %: $(POT)
|
||||||
@echo "msgmerge: $@"
|
@echo "msgmerge: $@"
|
||||||
msgmerge -U $@ $(POT)
|
podir=`dirname $@` ; \
|
||||||
|
if test ! -d $$podir; then mkdir -p $$podir; fi
|
||||||
|
if test -f $@; then \
|
||||||
|
msgmerge -U $@ $(POT); \
|
||||||
|
else \
|
||||||
|
cp $(POT) $@; \
|
||||||
|
fi
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(POT): $(XSRCFILES) $(XJSFILES) po/pot.sed
|
$(POT): $(XSRCFILES) $(XJSFILES) po/pot.sed
|
||||||
|
|
Loading…
Reference in a new issue