File: rules

package info (click to toggle)
pycares 4.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,472 kB
  • sloc: cpp: 30,176; ansic: 26,759; python: 2,346; makefile: 268; perl: 114; sh: 103; awk: 18
file content (29 lines) | stat: -rwxr-xr-x 737 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
24
25
26
27
28
29
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

export PYBUILD_NAME = pycares

export PYCARES_USE_SYSTEM_LIB = 1

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

override_dh_auto_build-indep:
	$(MAKE) -C docs html

override_dh_auto_clean-indep:
	$(MAKE) -C docs clean

# Tests require network, tested by debci
override_dh_auto_test:

override_dh_installdocs:
	dh_installdocs -ppython-pycares-doc --doc-main-package=python3-pycares
	dh_installdocs --remaining-packages

override_dh_installexamples:
	dh_installexamples -ppython-pycares-doc --doc-main-package=python3-pycares