[Scummvm-cvs-logs] SF.net SVN: scummvm:[49942] scummvm/trunk/po/module.mk
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Jun 17 21:07:45 CEST 2010
Revision: 49942
http://scummvm.svn.sourceforge.net/scummvm/?rev=49942&view=rev
Author: lordhoto
Date: 2010-06-17 19:07:45 +0000 (Thu, 17 Jun 2010)
Log Message:
-----------
Fix out of updatepot and update-translations for source builds.
Modified Paths:
--------------
scummvm/trunk/po/module.mk
Modified: scummvm/trunk/po/module.mk
===================================================================
--- scummvm/trunk/po/module.mk 2010-06-17 18:54:37 UTC (rev 49941)
+++ scummvm/trunk/po/module.mk 2010-06-17 19:07:45 UTC (rev 49942)
@@ -1,8 +1,8 @@
-POTFILE := po/scummvm.pot
-POFILES := $(wildcard po/*.po)
+POTFILE := $(srcdir)/po/scummvm.pot
+POFILES := $(wildcard $(srcdir)/po/*.po)
updatepot:
- xgettext -f po/POTFILES -d scummvm --c++ -k_ -k_t -k_s -o po/scummvm.pot \
+ xgettext -f $(srcdir)/po/POTFILES -D $(srcdir) -d scummvm --c++ -k_ -k_t -k_s -o $(POTFILE) \
"--copyright-holder=ScummVM Team" --package-name=ScummVM \
--package-version=$(VERSION) --msgid-bugs-address=scummvm-devel at lists.sf.net -o $(POTFILE)_
@@ -11,8 +11,8 @@
rm $(POTFILE)_
if test -f $(POTFILE); then \
- sed -f po/remove-potcdate.sed < $(POTFILE) > $(POTFILE).1 && \
- sed -f po/remove-potcdate.sed < $(POTFILE).new > $(POTFILE).2 && \
+ sed -f $(srcdir)/po/remove-potcdate.sed < $(POTFILE) > $(POTFILE).1 && \
+ sed -f $(srcdir)/po/remove-potcdate.sed < $(POTFILE).new > $(POTFILE).2 && \
if cmp $(POTFILE).1 $(POTFILE).2 >/dev/null 2>&1; then \
rm -f $(POTFILE).new; \
else \
@@ -24,8 +24,8 @@
mv -f $(POTFILE).new $(POTFILE); \
fi;
-po/%.po: $(POTFILE)
- msgmerge $@ $(POTFILE) -o $@.new
+po/%.po: $(srcdir)/$(POTFILE)
+ msgmerge $@ $(srcdir)/$(POTFILE) -o $@.new
if cmp $@ $@.new >/dev/null 2>&1; then \
rm -f $@.new; \
else \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list