File: rules

package info (click to toggle)
python-sfml 2.2~git20150611.196c88%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,020 kB
  • sloc: python: 1,125; cpp: 309; makefile: 124
file content (30 lines) | stat: -rwxr-xr-x 755 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
23
24
25
26
27
28
29
30
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie

export PYBUILD_NAME=sfml
export PYBUILD_INSTALL_ARGS=--skip-build

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

override_dh_sphinxdoc-arch:

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

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

override_dh_installchangelogs:
	dh_installchangelogs doc/source/changelog.rst

override_dh_installexamples:
	dh_installexamples -ppython-sfml-doc --doc-main-package=python3-sfml
	dh_installexamples --remaining-packages

override_dh_strip:
	dh_strip -ppython3-sfml --dbg-package=python3-sfml-dbg
	dh_strip --remaining-packages