File: rules

package info (click to toggle)
feed2exec 0.22.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,228 kB
  • sloc: python: 2,417; xml: 788; makefile: 199
file content (16 lines) | stat: -rwxr-xr-x 493 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

# disable network tests in Debian package build
export PYBUILD_TEST_ARGS=-k 'not network'

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

override_dh_auto_build:
	dh_auto_build
        # builder=html,man only supported in Sphinx 1.6, not yet released:
        # http://www.sphinx-doc.org/en/master/setuptools.html
	cd doc && SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build make html man