From 726a857a0ff0251cebcad81e91be13297bd4045f Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 4 Oct 2001 20:35:04 +0000 Subject: [PATCH] cleaned up some of the document making --- doc/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 4127acb..d9d8293 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,13 +1,25 @@ +locales = de + all: sgml2html comedilib.sgml sgml2txt comedilib.sgml messages: .phony xgettext -k_ -k_s $(shell find .. -name '*.c') - for i in de;do \ + for i in $(locales);do \ msgmerge po/$$i.po messages.po -o $$i.po; \ - msgfmt $$i.po -o $$i/LC_MESSAGES/comedilib.mo; \ + mkdir -p locale/$$i/LC_MESSAGES; \ + msgfmt $$i.po -o locale/$$i/LC_MESSAGES/comedilib.mo; \ + done + +distclean: clean + rm -f *.html *.txt + rm -rf locale + +clean: + for i in $(locales);do \ + rm -f $$i.po ; \ done .phony: -- 2.26.2