File: Makefile

package info (click to toggle)
gtimelog 0.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,008 kB
  • sloc: python: 4,530; xml: 171; makefile: 93
file content (13 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
.PHONY: build
build:
	rm -rf build && mkdir build
	rst2html --stylesheet mg.css --link-stylesheet website.rst build/index.html
	rst2html --stylesheet mg.css --link-stylesheet index.rst build/docs.html
	rst2html --stylesheet mg.css --link-stylesheet formats.rst build/formats.html
	cp gtimelog.png build/gtimelog.png
	cp mg.css build/mg.css

.PHONY: preview
preview:
	# pip install restview
	restview --css mg.css website.rst