File: rules

package info (click to toggle)
python-pygraphviz 1.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 732 kB
  • sloc: ansic: 5,100; python: 2,669; makefile: 57
file content (17 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export PYBUILD_NAME=pygraphviz
export PYBUILD_AFTER_BUILD=cd doc ; PYTHONPATH={build_dir} $(MAKE) html ; cd ..

%:
	dh $@ --buildsystem=pybuild

override_dh_installexamples:
	dh_installexamples -ppython-pygraphviz-doc examples/*

execute_after_dh_installdocs:
	dh_installdocs -ppython-pygraphviz-doc doc/build/html