blob: 77d65a292014201a0d6480df8d6486286f1f9267 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/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)
override_dh_installinit:
dh_installinit --name target
|