New upstream release
[packages/capstone.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 %:
8         dh $@  --with python2
9
10 override_dh_auto_build:
11         env
12         dh_auto_build -- V=1
13
14 override_dh_auto_install:
15         ln -sf . include/capstone
16         dh_auto_install
17         cd bindings/python && OPTS="--root=$(CURDIR)/debian/tmp/ --install-layout=deb" make install_cython
18         rm -f include/capstone