File: rules

package info (click to toggle)
pylibmc 1.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 468 kB
  • sloc: ansic: 2,421; python: 987; makefile: 98
file content (17 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=pylibmc
export PYBUILD_AFTER_BUILD_python3=PYLIBMC_DIR={build_dir} {interpreter} -m sphinx -b html -d docs/.build/.doctrees -N docs docs/.build/html
export PYBUILD_DISABLE=test

export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

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

override_dh_clean:
	rm -rf docs/.build
	dh_clean

override_dh_compress:
	dh_compress -X changelog.html