doc/ja/Makefile
changeset 1489 a64fdaf60f9d
child 1500 cadde8ebf167
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/ja/Makefile	Wed Nov 02 16:13:24 2005 -0800
@@ -0,0 +1,21 @@
+SOURCES=$(wildcard *.[0-9].ja.txt)
+MAN=$(SOURCES:%.txt=%)
+HTML=$(SOURCES:%.txt=%.html)
+
+all: man html
+
+man: $(MAN)
+
+html: $(HTML)
+
+%: %.xml
+	xmlto man $*.xml
+
+%.xml: %.txt
+	-asciidoc -d manpage -b docbook -f docbook.ja.conf $*.txt
+
+%.html: %.txt
+	asciidoc -b html4 $*.txt
+
+clean:
+	$(RM) $(MAN:%.ja=%) $(MAN:%=%.xml) $(MAN:%=%.html)