File: rules

package info (click to toggle)
six 1.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 256 kB
  • sloc: python: 1,552; makefile: 118
file content (19 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/make -f

export PYBUILD_NAME := six
export PYBUILD_TEST_PYTEST := 1

%:
	dh $@ --buildsystem=pybuild

ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_build:
	$(MAKE) -C documentation html
endif

execute_after_dh_auto_clean:
	$(MAKE) -C documentation clean

override_dh_installdocs:
	dh_installdocs -Npython-six-doc
	dh_installdocs -ppython-six-doc --doc-main-package=python3-six