File: rules

package info (click to toggle)
python-reconfigure 0.1.74%2Bgit49a20890-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 724 kB
  • ctags: 701
  • sloc: python: 4,201; makefile: 186; sh: 7
file content (24 lines) | stat: -rwxr-xr-x 509 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
#!/usr/bin/make -f

export PYBUILD_NAME=reconfigure

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

override_dh_auto_build:
	dh_auto_build
	$(MAKE) doc

override_dh_auto_clean:
	rm -rf docs/build/*
	dh_auto_clean

override_dh_installchangelogs:
	dh_installchangelogs -X docs

get-orig-source:
	@d=$$(readlink -e $(MAKEFILE_LIST)); \
	cd $${d%/*}/..; \
	debian/get-orig-source.sh $(CURDIR)

.PHONY: override_dh_auto_build override_dh_auto_clean override_dh_installchangelogs get-orig-source