File: rules

package info (click to toggle)
python-rsa 3.1.4-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 348 kB
  • ctags: 393
  • sloc: python: 2,635; makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

SHELL=/bin/bash
export PYBUILD_DESTDIR_python2=debian/python-rsa/
export PYBUILD_DESTDIR_python3=debian/python3-rsa/

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

override_dh_install:
	dh_install
	for i in $(CURDIR)/debian/python3-rsa/usr/bin/pyrsa-* ; do \
		mv $${i} $${i/pyrsa/py3rsa} ;\
	done