wxWidgets/locale/Makefile
1999-05-10 16:35:13 +00:00

24 lines
593 B
Makefile

# 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$