• R/O
  • HTTP
  • SSH
  • HTTPS

LDP_man-pages: 提交


Commit MetaInfo

修订版657aaa2623246005bf75eb3c64da9382236c130a (tree)
时间2012-04-23 10:49:54
作者Akihiro MOTOKI <amotoki@gmai...>
CommiterAkihiro MOTOKI

Log Message

(split) LDP: Add Makefile to dispatch po4a jobs.

更改概述

差异

--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
1+PERKAMON_DIR = perkamon
2+LANGS = ja
3+THRESH = 100
4+FLAGS ?=
5+PO4AFLAGS ?= -k $(THRESH) $(FLAGS)
6+
7+all: translate
8+
9+translate: jm-setup
10+ cd perkamon && $(MAKE) translate PO4AFLAGS="$(PO4AFLAGS)" LANGS="$(LANGS)"
11+
12+translate-%: jm-setup
13+ cd perkamon && $(MAKE) translate-$* PO4AFLAGS="$(PO4AFLAGS)" LANGS="$(LANGS)"
14+
15+stats: jm-setup
16+ cd perkamon && $(MAKE) stats PO4AFLAGS="$(PO4AFLAGS)" LANGS="$(LANGS)"
17+
18+jm-setup:
19+ # Create symlink to po4a/*/po in the top dir.
20+ @set -e; for d in $(PERKAMON_DIR)/po4a/*; do \
21+ if [ ! -e $$d/po ]; then \
22+ t=$$(echo $$d | sed -e "s|$(PERKAMON_DIR)/||"); \
23+ ln -s ../../../$$t/po $$d/po; \
24+ fi; \
25+ done
Show on old repository browser