Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 36 lines (23 sloc) 0.682 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
#MARKDOWN = $(HOME)/Library/Haskell/bin/pandoc -f markdown -t html
MARKDOWN = peg-markdown --smart --notes

all: index.html index-ja.html

index.html: header.html.inc effectivescala.html footer.html.inc
cat $^ > $@

index-ja.html: header.html.inc effectivescala-ja.html footer.html.inc
cat $^ > $@

pub: all
./publish.sh index.html index-ja.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

Something went wrong with that request. Please try again.