File: rules

package info (click to toggle)
pyzor 1%3A0.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 292 kB
  • ctags: 414
  • sloc: python: 1,672; sh: 102; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pysupport

include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/debhelper.mk

BASE := $(CURDIR)/debian/pyzor
DEB_INSTALL_MANPAGES_pyzor := docs/pyzor.1 docs/pyzord.1

binary-indep-post-install/pyzor::
	install -m755 scripts/pyzor $(BASE)/usr/bin/pyzor
	install -m755 scripts/pyzord $(BASE)/usr/bin/pyzord

clean::
	rm -f lib/pyzor/*.pyc lib/pyzor/*.pyo

binary-install/pyzor::
	dh_pysupport -p$(cdbs_curpkg)