File: rules

package info (click to toggle)
logilab-constraint 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 372 kB
  • sloc: python: 2,762; xml: 165; makefile: 20
file content (28 lines) | stat: -rwxr-xr-x 715 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
26
27
28
#!/usr/bin/make -f

export PYBUILD_DISABLE=test

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

override_dh_auto_install:
	set -e ; \
	for python in python3 ; do \
		$$python setup.py -q install --no-compile \
			--root=debian/$$python-logilab-constraint  \
			--install-headers=debian/$$python-logilab-constraint/usr/include/ \
			--install-scripts=usr/bin \
			--install-layout=deb ; \
	done

override_dh_installchangelogs:
	dh_installchangelogs -A -i ChangeLog

override_dh_installdocs:
	dh_installdocs -A -i README doc/documentation.html doc/CONTRIBUTORS doc/documentation.xml

override_dh_compress:
	dh_compress -A -i -X.py -X.ini -X.xml -Xtest

override_dh_installexamples:
	dh_installexamples -A examples/*