File: rules

package info (click to toggle)
python-iptables 0.11.0-4
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 652 kB
  • ctags: 1,098
  • sloc: python: 2,709; makefile: 93; ansic: 77
file content (15 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

export PYBUILD_NAME=iptables
%:
	dh $@ --with python3,python2,sphinxdoc --buildsystem=pybuild

override_dh_auto_build-indep:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	cd doc && \
	PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
	sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/
	rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees
endif

override_dh_auto_test: