File: rules

package info (click to toggle)
pympress 1.5.3%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 876 kB
  • sloc: python: 3,526; sh: 84; makefile: 17
file content (26 lines) | stat: -rwxr-xr-x 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.8.5 at
# Wed, 04 Sep 2019 20:10:51 +0100
export PYBUILD_NAME=pympress

include /usr/share/dpkg/pkg-info.mk

PYTHON3_VERSIONS = $(shell py3versions -r)

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

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	debian/genmo.sh
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html # HTML generator
	PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man # Manpage generator

override_dh_auto_install:
	dh_auto_install
	set -ex; for python in $(PYTHON3_VERSIONS); do \
		$$python setup.py install --root=$(CURDIR)/debian/$(DEB_SOURCE) --install-layout=deb; \
	done