File: rules

package info (click to toggle)
python-sfml 2.2~git20150611.196c88%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,020 kB
  • sloc: python: 1,125; cpp: 309; makefile: 121
file content (26 lines) | stat: -rwxr-xr-x 640 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
#!/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 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