dosage/doc/web/Makefile
Bastian Kleineidam 8ac5de0f49 Dont regenerate comics on release.
[ci skip]
2013-04-01 11:47:44 +02:00

28 lines
577 B
Makefile

HOMEPAGE:=$(HOME)/public_html/dosage-webpage.git
WOK:=$(HOME)/projects/wok.git/wok
all:
comics: ../../testresults.txt
# regenerate comic pages
rm -f content/comics/*.md
env PYTHONPATH=../.. ./mkcomics.py $< content
media/favicon.ico: ../icon/favicon.ico
cp $< $@
gen: media/favicon.ico
# copy some static files
cp ../dosage.1.html $(HOMEPAGE)
$(WOK) -v
serve:
xdg-open http://localhost:8080
$(WOK) --server localhost:8080
upload:
cd $(HOMEPAGE) && git add . && git commit -m "Updated" && git push
release: gen upload
.PHONY: all comics gen serve upload release