File: rules

package info (click to toggle)
python-icalendar 3.8-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 516 kB
  • sloc: python: 3,055; makefile: 124
file content (28 lines) | stat: -rwxr-xr-x 551 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
27
28
#!/usr/bin/make -f

export DH_VERBOSE=1

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

override_dh_auto_build:
	dh_auto_build -O--buildsystem=pybuild
	$(MAKE) -C docs html

override_dh_auto_clean:
	dh_auto_clean -O--buildsystem=pybuild
	$(MAKE) -C docs clean
	rm -fr src/icalendar.egg-info

override_dh_auto_test:
	python setup.py test

override_dh_installdocs:
	dh_installdocs
	dh_sphinxdoc

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst

override_dh_installdocs:
	dh_installdocs -Xlicense.txt -Xjquery.js -Xunderscore.js