From 034d6982d15969b160b89d8771f6ead8cc1ef4bc Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Fri, 13 Apr 2012 02:36:46 +0900 Subject: [PATCH] GNU_coreutils: Remove Makefile in the top dir. The Makefile removed by this commit is prepared for po4a environment. I decided to generate translated manpages of coreutils by help2man with including translated versions of help2man.ja/*.x. Therefore the Makefile is no longer required. In the next commit I will add new Makefile which supports help2man. --- Makefile | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index c66ef9c..0000000 --- a/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -THRESH = 100 -EXTFLAGS = -PO4AFLAGS += -k $(THRESH) $(EXTFLAGS) - -LANGS = ja -PO4ACFG = po4a/coreutils.cfg - -WORK_DIR = . - -all: translate - -translate: - po4a $(PO4AFLAGS) --variable langs='$(LANGS)' \ - --previous --srcdir $(WORK_DIR) --destdir $(WORK_DIR) $(PO4ACFG) - -stat: - @for l in $(LANGS); do \ - echo -n "$$l: "; \ - msgfmt --statistics -o /dev/null po4a/$$l.po; \ - done - -page-stat: - @LC_ALL=C po4a $(PO4AFLAGS) --force -v -k 0 --variable langs='$(LANGS)' \ - --previous --srcdir $(WORK_DIR) --destdir $(WORK_DIR) $(PO4ACFG) | \ - grep translated | \ - sed -e 's/(\([1-9][0-9]*\) strings)/(\1 of \1 strings)/' \ - -e 's/[()]//g' \ - -e 's/^release\/man[1-9]\///' | \ - awk '{printf("%-15s: %7s (%3s/%3s)\n",$$1,$$3,$$5,$$7);}' -- 2.11.0