File: rules

package info (click to toggle)
wtforms 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 564 kB
  • sloc: python: 3,477; makefile: 72
file content (25 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

%:
	dh --buildsystem=python_distutils --with=python2 $@

build:
	dh --buildsystem=python_distutils --with=python2 $@
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	-cd tests ;\
	    for python in $(shell pyversions -vr); do \
	        export PYTHONPATH=`echo ../build/lib*-$${python}` ;\
		python$${python} runtests.py ext_sqlalchemy ext_dateutil ext_django ;\
	done
endif

	cd docs && make html
	rm docs/_build/html/_static/jquery.js

clean:
	dh --buildsystem=python_distutils --with=python2 $@
	rm -rf docs/_build


override_dh_compress:
	dh_compress -X/html/