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

27 lines (21 sloc) 0.566 kb
FILES=index installation tutorial
.PHONY: all
all:
/anfs/www/tools/bin/ucampas -r
.PHONY: dev
dev: $(FILES:%=%-b.html)
@ :
%-b.html: %.md style.css Makefile
set -e; echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' > $@; \
echo "<title>`head -1 $<`</title>" >> $@; \
echo "<body><style>" >> $@; \
cat style.css >> $@; \
echo "</style>" >> $@; \
cat analytics.html >> $@; \
markdown -v -x codehilite $< >> $@; \
echo "</body>" >> $@
style.css:
pygmentize -f html -S friendly -a .codehilite > $@
.PHONY: clean
clean:
rm -f *.html
Jump to Line
Something went wrong with that request. Please try again.