doc/ja/Makefile
author Steve Borho <steve@borho.org>
Sun, 16 Aug 2009 20:53:49 -0500
changeset 9357 7ee67a037dcb
parent 1500 cadde8ebf167
permissions -rw-r--r--
iss: make mfc*.dll and msvc*.dll optional mfc71.dll was only needed for Python2.4 msvc*.dll is similarly optional Do not bail installer build if not found

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)