OSDN Git Service

GNU_coreutils: Remove Makefile in the top dir.
authorAkihiro MOTOKI <amotoki@gmail.com>
Thu, 12 Apr 2012 17:36:46 +0000 (02:36 +0900)
committerAkihiro MOTOKI <amotoki@gmail.com>
Thu, 12 Apr 2012 17:36:46 +0000 (02:36 +0900)
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.

manual/GNU_coreutils/Makefile [deleted file]

diff --git a/manual/GNU_coreutils/Makefile b/manual/GNU_coreutils/Makefile
deleted file mode 100644 (file)
index c66ef9c..0000000
+++ /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);}'