debian swirl logo

Back to the packages list templayer

#!/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

Builds:

python-templayer
layered template library for python