File: rules

package info (click to toggle)
python-intbitset 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,432 kB
  • sloc: python: 704; ansic: 438; makefile: 133
file content (19 lines) | stat: -rwxr-xr-x 456 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 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
	: