File: rules

package info (click to toggle)
sphinx-autoapi 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 932 kB
  • sloc: python: 4,372; makefile: 164; javascript: 16; sh: 1
file content (18 lines) | stat: -rwxr-xr-x 640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/make -f
export PYBUILD_NAME=sphinx-autoapi

# manually build doc:
export PYBUILD_AFTER_BUILD=python3 setup.py build_sphinx -b html && \
        python3 setup.py build_sphinx -b text

# disable test_integration tests:
# - GoTests.test_integration requires sphinxcontrib.golangdomain (not available
#   yet in Debian)
# - DotNetTests.test_integration requires sphinxcontrib.dotnetdomain (not
#   available yet in Debian)
# TODO: package sphinxcontrib.golangdomain and sphinxcontrib.dotnetdomain and
#       re-enable the tests
export PYBUILD_TEST_ARGS=-k-test_integration

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