diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules index ebdca12..41a13a9 100755 --- a/debian/rules +++ b/debian/rules @@ -3,13 +3,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -ifeq ($(shell cat /etc/issue | cut -d' ' -f2), 11.10) - SUBSTVARS = -Vdist:Depends="qemu-arm-static" -else - SUBSTVARS = -Vdist:Depends="qemu-user-static" -endif - - build: build-stamp build-stamp: dh_testdir @@ -31,9 +24,15 @@ install: build dh_installdirs # Installing package - mkdir -p $(CURDIR)/debian/mic $(CURDIR)/debian/mic/usr/bin $(CURDIR)/debian/mic/usr/share/man/man1 - install -m644 doc/mic.1 $(CURDIR)/debian/mic/usr/share/man/man1 - python setup.py install --root=$(CURDIR)/debian/mic + mkdir -p $(CURDIR)/debian/tmp/ + mkdir -p $(CURDIR)/debian/tmp/usr/bin + mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1 + mkdir -p $(CURDIR)/debian/tmp/etc/bash_completion.d + mkdir -p $(CURDIR)/debian/tmp/etc/zsh_completion.d + install -m644 doc/mic.1 $(CURDIR)/debian/tmp/usr/share/man/man1 + install -m755 etc/bash_completion.d/mic.sh $(CURDIR)/debian/tmp/etc/bash_completion.d/ + install -m755 etc/zsh_completion.d/_mic $(CURDIR)/debian/tmp/etc/zsh_completion.d/_mic + python setup.py install --root=$(CURDIR)/debian/tmp --prefix=/usr binary-indep: build install dh_testdir @@ -49,7 +48,7 @@ binary-indep: build install dh_pysupport dh_installdeb dh_shlibdeps - dh_gencontrol -- $(SUBSTVARS) + dh_gencontrol dh_md5sums dh_builddeb |