From 79b8d6ecb4683d10d661e1b8d9781ba7f0c07c6d Mon Sep 17 00:00:00 2001 From: Liang Chang Date: Fri, 4 Feb 2022 02:44:20 +0800 Subject: [PATCH] localized: build dtprintinfo.cat. --- cde/programs/localized/templates/msg.am | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cde/programs/localized/templates/msg.am b/cde/programs/localized/templates/msg.am index 00fb46da8..1842a2d9f 100644 --- a/cde/programs/localized/templates/msg.am +++ b/cde/programs/localized/templates/msg.am @@ -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)