File: rules

package info (click to toggle)
sortedcontainers 2.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 11,136 kB
  • sloc: python: 6,613; sh: 60; makefile: 18
file content (13 lines) | stat: -rwxr-xr-x 245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=sortedcontainers

%:
	dh $@ $(WITH_SPHINXDOC) --buildsystem=pybuild

ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
WITH_SPHINXDOC=--with sphinxdoc

execute_after_dh_auto_build:
	$(MAKE) -C docs html
endif