File: rules

package info (click to toggle)
python-urlobject 2.4.0-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 280 kB
  • ctags: 486
  • sloc: python: 1,301; makefile: 135
file content (17 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_DESTDIR_python2=debian/python-urlobject/
export PYBUILD_DESTDIR_python3=debian/python3-urlobject/

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

override_dh_auto_build:
	dh_auto_build -v
	$(MAKE) -C doc clean html SPHINXOPTS=-N

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C doc clean

.PHONY: override_dh_auto_build override_dh_auto_clean