3 PO4AFLAGS += -k $(THRESH) $(EXTFLAGS)
5 MASTER_CMD = $(wildcard original/man[^23]/*.[1-8])
6 MASTER_LIB = $(wildcard original/man[23]/*.[1-8])
7 MASTER_ROFFS = $(MASTER_CMD) $(MASTER_LIB)
8 TRANS_ROFFS = $(patsubst original/%,draft/%,$(MASTER_ROFFS))
9 POFILES = $(sort $(wildcard po4a/*/*.ja.po))
10 POTFILES = $(wildcard po4a/*/*.pot)
11 MSGMERGE_OPTS = --no-wrap --no-location
19 translate: translate-cmd translate-lib
20 translate-cmd: $(patsubst %,_translate-%,$(notdir $(MASTER_CMD)))
21 translate-lib: $(patsubst %,_translate-%,$(notdir $(MASTER_LIB)))
24 @PO4AFLAGS="$(PO4AFLAGS)" ./tools/translate.sh $*
26 updatepo: $(patsubst %,_updatepo-%,$(notdir $(MASTER_ROFFS)))
29 @MSGMERGE_OPTS="$(MSGMERGE_OPTS)" ./tools/updatepo.sh $*
32 @for po in $(POFILES); do \
33 echo -n $$(basename $$po)": "; \
34 msgfmt --statistics -o /dev/null $$po; \
37 pot: $(patsubst %,_pot-%,$(notdir $(MASTER_ROFFS)))
40 @./tools/generatepot.sh $*