File: rules

package info (click to toggle)
python-pysnmp2 2.0.9-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 476 kB
  • ctags: 471
  • sloc: python: 2,091; makefile: 8
file content (16 lines) | stat: -rwxr-xr-x 534 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

DEB_PYTHON_SYSTEM=pysupport

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

# Don't compress .py files
DEB_COMPRESS_EXCLUDE := .py

binary-install/$(DEB_PYTHON_MODULE_PACKAGE)::
	mkdir -p debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/v2/

	mv debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/*.py \
		debian/$(DEB_PYTHON_MODULE_PACKAGE)/$(cdbs_python_support_path)/pysnmp/v2/