File: rules

package info (click to toggle)
pygccxml 1.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,544 kB
  • sloc: xml: 30,265; python: 15,580; cpp: 2,602; makefile: 160; ansic: 59; sh: 3
file content (26 lines) | stat: -rwxr-xr-x 774 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=pygccxml
export PYBUILD_TEST_ARGS={interpreter} ./unittests/test_all.py

%:
	dh  $@ --with python2,python3 --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	$(MAKE) html

override_dh_installchangelogs:
	dh_installchangelogs -A docs/history.rst

override_dh_auto_test:
	#Disable the test suite until llvm toolchain is up-to-date and fixed again
	#PYBUILD_SYSTEM=custom dh_auto_test

override_dh_installdocs:
	dh_installdocs
	mkdir -p debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/
	mv debian/python-pygccxml-doc/usr/share/doc/python-pygccxml/html \
		debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/
	rm -rf debian/python-pygccxml-doc/usr/share/doc/python-pygccxml/doctrees