Skip to content

Commit

Permalink
publish by lethee
Browse files Browse the repository at this point in the history
  • Loading branch information
lethee authored and pismute committed Sep 27, 2012
1 parent 5ce94c3 commit 1b58ad1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#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
all: index.html index-ja.html index-ru.html index-cn.html index-ko.html

index.html: header.html.inc effectivescala.html footer.html.inc
cat $^ > $@
Expand All @@ -15,8 +15,11 @@ index-ru.html: header-ru.html.inc effectivescala-ru.html footer-ru.html.inc
index-cn.html: header-cn.html.inc effectivescala-cn.html footer-cn.html.inc
cat $^ > $@

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

pub: all
./publish.sh index.html index-ja.html index-ru.html index-cn.html coll.png
./publish.sh index.html index-ja.html index-ru.html index-cn.html index-ko.html coll.png

%.html: %.mo
cat $< | bash proc.sh | bash toc.sh | bash fmt.sh | $(MARKDOWN) > $@
Expand Down

0 comments on commit 1b58ad1

Please sign in to comment.