]> git.saurik.com Git - wxWidgets.git/blob - locale/Makefile
(primitive) makefile for msg catalogs and the updated wxstd.po
[wxWidgets.git] / locale / Makefile
1 # this is the makefile for generating wxstd.po message catalog file and
2 # building lang.mo files from the translated lang.po catalogs
3
4 # this makefile may be invoked to build either wxstd.po or any lang.mo
5
6 # the programs we use (TODO: use configure to detect them)
7 MSGFMT=msgfmt
8 XGETTEXT=xgettext
9 XARGS=xargs
10
11 # implicit rules
12 %.mo: %.po
13 $(MSGFMT) -o $@ $<
14
15
16 wxstd.po: FORCE
17 find ../include -name "*.h" | $(XARGS) $(XGETTEXT) -C -k_ -j -o wxstd.po
18 find ../src -name "*.cpp" | $(XARGS) $(XGETTEXT) -C -k_ -j -o wxstd.po
19
20 # targets depending on this one will be always remade
21 FORCE:
22
23 # $Id$