File: rules

package info (click to toggle)
django-cas-server 3.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,704 kB
  • sloc: python: 6,154; makefile: 275; xml: 100; javascript: 92; sh: 3
file content (26 lines) | stat: -rwxr-xr-x 614 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
26
#!/usr/bin/make -f

#export DH_VERBOSE=1

export PYBUILD_NAME=django-cas-server
export PYBUILD_DISABLE=test

DH_FLAGS=--buildsystem=pybuild

%:
	dh $@ $(DH_FLAGS)

%-indep:
	dh $@ $(DH_FLAGS) --with sphinxdoc

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ -d debian/doctrees build/html # HTML generator
	PYTHONPATH=. python3 -m sphinx -N -bman docs/ -d debian/doctrees build/man # Manpage generator


override_dh_auto_clean:
	dh_auto_clean
	rm -rf debian/doctrees