# Makefile for pnusdas/doc

.SUFFIXES:
.SUFFIXES: .html .rd

.rd.html:
	rd2 -r rd/rd2html-lib.rb --with-part=HTML:html --with-part=RT:rt --with-css=style.css --out-code=sjis -o $* $<

all: nusdetail.html nusref.html nusdetail-en.html nuselem-en.html

nusdetail-en.html: nusdetail-en.rd
	rd2 -r rd/rd2html-lib.rb --with-part=HTML:html --with-part=RT:rt --with-css=style.css --out-code=sjis -o $* $<
	ruby -i entityfix.rb $@

clean:
	rm -f *.html
