File: rules

package info (click to toggle)
python-ldap 3.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,448 kB
  • sloc: python: 9,555; ansic: 3,052; makefile: 155; sh: 79
file content (14 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME=ldap
export PYBUILD_DISABLE=test

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$(CURDIR) python3 -m sphinx -b html -N $(CURDIR)/Doc $(CURDIR)/debian/python-ldap-doc/usr/share/doc/python-ldap-doc/html
endif