File: rules

package info (click to toggle)
pygccxml 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,440 kB
  • ctags: 3,786
  • sloc: xml: 30,265; python: 15,826; cpp: 2,224; makefile: 156; ansic: 59; sh: 3
file content (22 lines) | stat: -rwxr-xr-x 523 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
#!/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

get-orig-source:
	uscan --download-current-version --force-download