| 1 | .PHONY: build |
| 2 | build: |
| 3 | rm -rf build && mkdir build |
| 4 | rst2html --stylesheet mg.css --link-stylesheet website.rst build/index.html |
| 5 | rst2html --stylesheet mg.css --link-stylesheet index.rst build/docs.html |
| 6 | rst2html --stylesheet mg.css --link-stylesheet formats.rst build/formats.html |
| 7 | cp gtimelog.png build/gtimelog.png |
| 8 | cp mg.css build/mg.css |
| 9 | |
| 10 | .PHONY: preview |
| 11 | preview: |
| 12 | # pip install restview |
| 13 | restview --css mg.css website.rst |