File: rules

package info (click to toggle)
python-cs 2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 140 kB
  • sloc: python: 734; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

export PYBUILD_DESTDIR_python3=debian/python3-cs/

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

override_dh_install:
	dh_install
	# Move cs executable in its dedicated package
	mkdir -p debian/cs/usr/bin
	mv debian/python3-cs/usr/bin/cs debian/cs/usr/bin/cloudstack
	rm -rf debian/python3-cs/usr/bin