• R/O
  • HTTP
  • SSH
  • HTTPS

iptables: Commit


Commit MetaInfo

Revisión95be995afe8fb38e93209caa4d59cb58f81ef0a1 (tree)
Tiempo2013-04-29 15:09:36
AutorAkihiro MOTOKI <motoki@da.j...>
CommiterAkihiro MOTOKI

Log Message

iptables: Update Makefile

Cambiar Resumen

Diferencia incremental

--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,9 @@ THRESH = 100
22 EXTFLAGS =
33 PO4AFLAGS += -k $(THRESH) $(EXTFLAGS)
44
5-MASTER_ROFFS = $(wildcard original/*/*.[1-8])
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)
68 TRANS_ROFFS = $(patsubst original/%,draft/%,$(MASTER_ROFFS))
79 POFILES = $(wildcard po4a/*/*.ja.po)
810 POTFILES = $(wildcard po4a/*/*.pot)
@@ -12,10 +14,13 @@ WORK_DIR = .
1214
1315 all: translate
1416
15-translate: $(patsubst %,translate-%,$(notdir $(MASTER_ROFFS)))
17+translate: translate-cmd translate-lib
18+translate-cmd: $(patsubst %,_translate-%,$(notdir $(MASTER_CMD)))
19+translate-lib: $(patsubst %,_translate-%,$(notdir $(MASTER_LIB)))
1620
17-translate-%:
21+_translate-%:
1822 @set -e; for target in $*; do \
23+ echo $$target; \
1924 p=$$(echo $* | sed -e 's|.*\.\([1-8]\)|man\1/\0|'); \
2025 pofile=po4a/$$p.ja.po; \
2126 potfile=po4a/$$p.pot; \
@@ -31,9 +36,9 @@ translate-%:
3136 fi; \
3237 done
3338
34-updatepo: $(patsubst %,updatepo-%,$(notdir $(MASTER_ROFFS)))
39+updatepo: $(patsubst %,_updatepo-%,$(notdir $(MASTER_ROFFS)))
3540
36-updatepo-%:
41+_updatepo-%:
3742 @set -e; for target in $*; do \
3843 p=$$(echo $* | sed -e 's|.*\.\([1-8]\)|man\1/\0|'); \
3944 pofile=po4a/$$p.ja.po; \
@@ -61,9 +66,9 @@ stat:
6166 msgfmt --statistics -o /dev/null $$po; \
6267 done
6368
64-pot: $(patsubst %,pot-%,$(notdir $(MASTER_ROFFS)))
69+pot: $(patsubst %,_pot-%,$(notdir $(MASTER_ROFFS)))
6570
66-pot-%:
71+_pot-%:
6772 @set -e; for target in $*; do \
6873 p=$$(echo $* | sed -e 's|.*\.\([1-8]\)|man\1/\0|'); \
6974 pofile=po4a/$$p.ja.po; \
Show on old repository browser