File: rules

package info (click to toggle)
python-rsa 4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 312 kB
  • sloc: python: 2,053; makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 415 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
# -*- 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