File: rules

package info (click to toggle)
pymilter 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,924 kB
  • ctags: 519
  • sloc: python: 2,234; ansic: 1,254; makefile: 33; sh: 17
file content (25 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download
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
#!/usr/bin/make -f

%:
	dh $@ --with python2

override_dh_auto_clean:
	set -e && for pyvers in $(shell pyversions -vr); do \
	  python$$pyvers setup.py clean -a; \
	done
	dh_clean
	rm -rf $(CURDIR)/build
	rm -rf $(CURDIR)/doc/latex
	rm -rf $(CURDIR)/doc/html

override_dh_auto_build-arch:
	:
override_dh_auto_build-indep:
	doxygen

override_dh_auto_install-arch:
	set -e && for pyvers in $(shell pyversions -vr); do \
	  python$$pyvers setup.py install --no-compile -O0 --install-layout=deb \
	    --root $(CURDIR)/debian/python-milter; \
        done
	dh_install