#!/usr/bin/make -f
RD2HTML=rd2 -r rd/rd2html-lib --with-css=style.css --with-part=HTML:html
RD2JA=$(RD2HTML) --html-charset=EUC-JP --with-part=JA:rd --out-code=euc
RD2EN=$(RD2HTML) --html-charset=US-ASCII --with-part=EN:rd --out-code=euc
HTMS=acknowledgement-en.html member-en.html acknowledgement-ja.html member-ja.html
all: $(HTMS) Makefile
acknowledgement-en.html: acknowledgement.rd Makefile
$(RD2EN) -o acknowledgement-en acknowledgement.rd
member-en.html: member.rd Makefile
$(RD2EN) -o member-en member.rd
acknowledgement-ja.html: acknowledgement.rd Makefile
$(RD2JA) -o acknowledgement-ja acknowledgement.rd
member-ja.html: member.rd Makefile
$(RD2JA) -o member-ja member.rd
Makefile:
ruby ./mkmf.rb
clean:
-rm -f $(HTMS)