File: rules

package info (click to toggle)
python-intbitset 2.3.0-3.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,096 kB
  • sloc: python: 481; ansic: 424; makefile: 135; sh: 2
file content (19 lines) | stat: -rwxr-xr-x 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

override_dh_auto_build-indep:
	python3 setup.py build_sphinx

execute_before_dh_auto_build:
	# Rebuild intbitset.c for both arch:all/arch:any build
	mv intbitset/intbitset.c intbitset/intbitset.orig.c
	cython3 intbitset/intbitset.pyx

execute_before_dh_auto_clean:
	-mv intbitset/intbitset.orig.c intbitset/intbitset.c

override_dh_auto_test-indep:
	# No tests for the indep build
	: