cleaned up some of the document making
This commit is contained in:
parent
d8b81aaea5
commit
726a857a0f
1 changed files with 14 additions and 2 deletions
16
doc/Makefile
16
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:
|
||||
|
|
Loading…
Add table
Reference in a new issue