File: rules

package info (click to toggle)
targetcli 2.0rc1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 208 kB
  • sloc: python: 2,116; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 393 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

build_dir   = build
install_dir = debian/targetcli


%:
	dh $@ --with python2

override_dh_auto_clean:
	# manually clean any *.pyc files
	rm -rf targetcli/*.pyc

override_dh_auto_build:
	python setup.py build --build-base $(build_dir) 

override_dh_auto_install:
	python setup.py install --prefix=/usr --no-compile  \
		--install-layout=deb --root=$(CURDIR)/$(install_dir)