1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 03:32:24 +00:00

localized: build dtprintinfo.cat.

This commit is contained in:
Liang Chang 2022-02-04 02:44:20 +08:00
parent 85ff5c5ffe
commit 79b8d6ecb4

View file

@ -12,3 +12,15 @@ SUFFIXES = .msg .cat
.msg.cat:
$(RM) $@
LANG=$(LANG) $(GENCAT) $@ $^ || $(RM) $@
SYM2NUM_CMD = $(KSH) $(top_builddir)/programs/dtprintinfo/sym2num
dtprintinfo.cat: export CPP := $(CPP) -
dtprintinfo.cat: export LANG := $(LANG)
dtprintinfo.cat: export LC_COLLATE = C
dtprintinfo.cat: dtprintinfo.msg
$(RM) $@
$(SYM2NUM_CMD) $(@:.cat=) $(@:.cat=.msg) > tmp.msg
$(GENCAT) $@ tmp.msg
$(RM) tmp.msg $(@:.cat=_msg.h)