all: html
help:
@echo 'Run without target to build all (html, rss)'
@echo Available targets:
@echo 'html render HTML'
@echo 'serve serve site on localhost'
@echo 'css generate Pygments stylesheet'
html:
python rst_blg.py
serve:
http-server ./build
css:
mkdir -p assets/css/pygments
pygmentize -f html -S $(filter-out $@,$(MAKECMDGOALS)) -a .highlight > assets/css/pygments/$(filter-out $@,$(MAKECMDGOALS)).css
%:
@: