Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (27 sloc) 0.924 kb
#MARKDOWN = $(HOME)/Library/Haskell/bin/pandoc -f markdown -t html
MARKDOWN = peg-markdown --smart --notes
all: index.html index-ja.html index-ru.html index-cn.html
index.html: header.html.inc effectivescala.html footer.html.inc
cat $^ > $@
index-ja.html: header-jp.html.inc effectivescala-ja.html footer-jp.html.inc
cat $^ > $@
index-ru.html: header-ru.html.inc effectivescala-ru.html footer-ru.html.inc
cat $^ > $@
index-cn.html: header-cn.html.inc effectivescala-cn.html footer-cn.html.inc
cat $^ > $@
pub: all
./publish.sh index.html index-ja.html index-ru.html index-cn.html coll.png
%.html: %.mo
cat $< | bash proc.sh | bash toc.sh | bash fmt.sh | $(MARKDOWN) > $@
%.ps: %.pic
9 pic $< | 9 troff | 9 tr2post | 9 psfonts > $@
%.eps: %.ps
rm -f $@
ps2eps -f $< $@
%.png: %.eps
convert -density 150 $< $@
%.proof: %.pic
9 pic $< | 9 troff | 9 proof
clean:
rm *.html *.png
.PHONY: all clean pub
Jump to Line
Something went wrong with that request. Please try again.