OSDN Git Service

GNU gperf 3.1: Makefile 追加。
authormatsuand <30614168+matsuand@users.noreply.github.com>
Tue, 29 Mar 2022 08:23:18 +0000 (17:23 +0900)
committermatsuand <30614168+matsuand@users.noreply.github.com>
Tue, 29 Mar 2022 08:23:18 +0000 (17:23 +0900)
manual/GNU_gperf/Makefile [new file with mode: 0644]

diff --git a/manual/GNU_gperf/Makefile b/manual/GNU_gperf/Makefile
new file mode 100644 (file)
index 0000000..b97b9e7
--- /dev/null
@@ -0,0 +1,21 @@
+PACKAGE_NAME = GNU_gperf
+
+THRESH = 100
+EXTFLAGS =
+PO4AFLAGS += -k $(THRESH) $(EXTFLAGS)
+PO4ACFG = po4a/$(PACKAGE_NAME).cfg
+POFILE  = po4a/ja.po
+
+all: translate
+
+translate:
+       po4a $(PO4AFLAGS) $(PO4ACFG)
+
+stat:
+       @msgfmt -v --statistics -o /dev/null $(POFILE)
+
+page-stat:
+       @echo $(POFILE):
+       @po4a --force --no-update -k 0 $(PO4ACFG)
+
+.PHONY: translate stat page-stat