File: rules

package info (click to toggle)
python-csb43 0.10.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: python: 11,036; sh: 101; makefile: 17
file content (16 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make -f

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

export PYBUILD_NAME=python-csb43
export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}

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

override_dh_auto_build:
	dh_auto_build
	# TODO: evtl. regenerate from code
	#rm -rf doc/html doc/source/*.rst
	#sphinx-apidoc -o doc/source csb43/
	sphinx-build doc/source build/html