(primitive) makefile for msg catalogs and the updated wxstd.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
caf0debf72
commit
efa5b5de4b
23
locale/Makefile
Normal file
23
locale/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# this is the makefile for generating wxstd.po message catalog file and
|
||||
# building lang.mo files from the translated lang.po catalogs
|
||||
|
||||
# this makefile may be invoked to build either wxstd.po or any lang.mo
|
||||
|
||||
# the programs we use (TODO: use configure to detect them)
|
||||
MSGFMT=msgfmt
|
||||
XGETTEXT=xgettext
|
||||
XARGS=xargs
|
||||
|
||||
# implicit rules
|
||||
%.mo: %.po
|
||||
$(MSGFMT) -o $@ $<
|
||||
|
||||
|
||||
wxstd.po: FORCE
|
||||
find ../include -name "*.h" | $(XARGS) $(XGETTEXT) -C -k_ -j -o wxstd.po
|
||||
find ../src -name "*.cpp" | $(XARGS) $(XGETTEXT) -C -k_ -j -o wxstd.po
|
||||
|
||||
# targets depending on this one will be always remade
|
||||
FORCE:
|
||||
|
||||
# $Id$
|
740
locale/wxstd.po
740
locale/wxstd.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user