File: rules

package info (click to toggle)
bumblebee-status 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,844 kB
  • sloc: python: 13,430; sh: 68; makefile: 29
file content (18 lines) | stat: -rwxr-xr-x 435 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 = bumblebee-status
export PYBUILD_DESTDIR_python3 = debian/bumblebee-status/
export PYBUILD_DISABLE = test # Upstream tests are broken
export LC_ALL=C.UTF-8
export LANGUAGE=C.UTF-8

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

execute_after_dh_auto_build:
	# Build docs with sphinx
	python3 -m sphinx docs debian/html

execute_after_dh_auto_clean:
	# Remove built docs
	rm -rf debian/html