File: rules

package info (click to toggle)
templayer 1.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 164 kB
  • ctags: 181
  • sloc: python: 964; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 639 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM = pysupport
  
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

build/python-templayer:: build-docs-test-stamp
build-docs-test-stamp:
	python docgen_reference.py > build/reference.html
	python docgen_tutorial.py -H > build/tutorial.html
	mkdir examples
	cp tmpl_tutorial.html examples
	cd examples; python ../docgen_tutorial.py -s
	rm examples/tmpl_tutorial.html
	touch build-docs-test-stamp

install/python-templayer::
	chmod a+x debian/python-templayer/usr/lib/python*/site-packages/templayer.py

clean::
	rm -rf build examples build-docs-test-stamp