(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:
Vadim Zeitlin 1999-05-10 16:35:13 +00:00
parent caf0debf72
commit efa5b5de4b
2 changed files with 512 additions and 251 deletions

23
locale/Makefile Normal file
View 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$

File diff suppressed because it is too large Load Diff