doc/ja/Makefile
author David Champion <dgc@uchicago.edu>
Sun, 05 Jul 2009 13:59:25 -0500
changeset 9283 b3ee4c2e1ff5
parent 1500 cadde8ebf167
permissions -rw-r--r--
test-gpg: suppress secure memory warning Some platforms (Solaris for one) does not support secure memory and would give a warning.

SOURCES=$(wildcard *.[0-9].ja.txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)

all: man html

man: $(MAN)

html: $(HTML)

%: %.xml
	xmlto -x docbook.ja.xsl 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)