File: rules

package info (click to toggle)
ripe-atlas-sagan 1.1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 672 kB
  • ctags: 407
  • sloc: python: 4,430; makefile: 160
file content (26 lines) | stat: -rwxr-xr-x 559 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
20
21
22
23
24
25
26
#!/usr/bin/make -f
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=ripe-atlas-sagan

include /usr/share/dpkg/default.mk

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

.PHONY: override_dh_clean
override_dh_clean:
	dh_clean
	rm -rf ripe.atlas.sagan.egg-info
	rm -rf docs/_build

.PHONY: override_dh_install
override_dh_install:
	dh_install
	rm -rf debian/python3-ripe-atlas-sagan/usr/bin

.PHONY: override_dh_auto_build
override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C docs html