File: rules

package info (click to toggle)
slimit 0.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 680 kB
  • ctags: 671
  • sloc: python: 3,665; makefile: 134
file content (18 lines) | stat: -rwxr-xr-x 421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=slimit

PREFIX = debian/python-slimit
PREFIX3 = debian/python3-slimit
PREFIXC = debian/slimit

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

override_dh_auto_install:
	dh_auto_install

	# Drop django-admin{,.py} which is in python-django-common and
	# clean up empty parent directories
	rm $(PREFIX)/usr/bin/slimit
	mv $(PREFIX3)/usr/bin/slimit $(PREFIXC)/usr/bin/slimit