target for gettext message creation
authorDavid Schleef <ds@schleef.org>
Sun, 19 Aug 2001 01:24:23 +0000 (01:24 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 19 Aug 2001 01:24:23 +0000 (01:24 +0000)
doc/Makefile

index 4ce8ba9df3b20b75ef1e939ae8b8d708e6220e0e..4127acb3b8fc27fc4dda845abd70ebb2d9fa003e 100644 (file)
@@ -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:
+