File: rules

package info (click to toggle)
sphinxext-rediraffe 0.3.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 944 kB
  • sloc: python: 1,361; makefile: 20
file content (16 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=sphinxext-rediraffe

execute_before_dh_auto_clean:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$$(pwd) http_proxy='127.0.0.1:9' make -C docs clean
endif

%:
	dh $@ --with python3 --with sphinxdoc --buildsystem=pybuild
execute_after_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$$(pwd) http_proxy='127.0.0.1:9' make -C docs html
endif