1 PERKAMON_DIR = perkamon
5 PO4AFLAGS ?= -k $(THRESH) $(FLAGS)
10 LC_ALL=C $(MAKE) translate \
11 PO4AFLAGS="$(PO4AFLAGS)" LANGS="$(LANGS)" -C $(PERKAMON_DIR) \
13 ./untrans-list.pl < untrans.txt > untrans.html
16 LC_ALL=C $(MAKE) translate-$* \
17 PO4AFLAGS="$(PO4AFLAGS)" LANGS="$(LANGS)" -C $(PERKAMON_DIR)
20 @LC_ALL=C $(MAKE) stats \
21 PO4AFLAGS="$(PO4AFLAGS)" LANGS="$(LANGS)" -C $(PERKAMON_DIR)
23 untrans-stats: jm-setup
24 @LC_ALL=C $(MAKE) stats \
25 PO4AFLAGS="$(PO4AFLAGS)" LANGS="$(LANGS)" -C $(PERKAMON_DIR) \
26 2>&1 | grep -vE ' translated messages\.$$'
28 jm-setup: stamp-jm-setup
30 # Create symlink to po4a/*/po in the top dir.
31 set -e; for d in $(PERKAMON_DIR)/po4a/*; do \
32 if [ ! -e $$d/po ]; then \
33 t=$$(echo $$d | sed -e "s|$(PERKAMON_DIR)/||"); \
34 ln -s ../../../$$t/po $$d/po; \
37 # Create symlink to original dir instead of downloading tarball.
38 #cd $(PERKAMON_DIR) && \
39 # if [ ! -e man-pages ]; then \
40 # ln -s ../original man-pages; \
42 # touch stamp-unpack-release && \
44 cd $(PERKAMON_DIR) && make setup
45 @set -e; if [ ! -e $(PERKAMON_DIR)/build/ja ]; then \
46 ln -s ../../draft $(PERKAMON_DIR)/build/ja; \
52 $(RM) $(PERKAMON_DIR)/man-pages
53 $(RM) $(PERKAMON_DIR)/stamp-*
54 $(RM) -rf $(PERKAMON_DIR)/build
55 find $(PERKAMON_DIR) -type l | xargs $(RM)