File: rules

package info (click to toggle)
pygccxml 1.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,548 kB
  • sloc: xml: 30,265; python: 15,580; cpp: 2,602; makefile: 157; ansic: 59; sh: 3
file content (23 lines) | stat: -rwxr-xr-x 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DH_VERBOSE=1
export PYBUILD_NAME=pygccxml
export PYBUILD_TEST_ARGS={interpreter} ./unittests/test_all.py

%:
	dh $@  --with 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
	rm -rf ./debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/doctrees