From 0ed20b06aa241339f733419af1dc3efb2d2afb9c Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 19 Aug 2001 01:24:23 +0000 Subject: [PATCH] target for gettext message creation --- doc/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index 4ce8ba9..4127acb 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,3 +3,12 @@ all: sgml2html comedilib.sgml sgml2txt comedilib.sgml +messages: .phony + xgettext -k_ -k_s $(shell find .. -name '*.c') + for i in de;do \ + msgmerge po/$$i.po messages.po -o $$i.po; \ + msgfmt $$i.po -o $$i/LC_MESSAGES/comedilib.mo; \ + done + +.phony: +