File: rules

package info (click to toggle)
capstone 4.0.1%2Breally%2B3.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 23,628 kB
  • sloc: ansic: 140,020; pascal: 30,196; cs: 19,216; python: 10,116; java: 8,563; ml: 7,670; makefile: 970; cpp: 331; sh: 192
file content (24 lines) | stat: -rwxr-xr-x 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/architecture.mk

%:
	dh $@ --with python2,python3

override_dh_auto_clean \
override_dh_auto_configure \
override_dh_auto_build \
override_dh_auto_test \
override_dh_auto_install:
	$(patsubst override_%,%,$@) -- \
		LIBDIRARCH=lib/$(DEB_HOST_MULTIARCH)
	$(patsubst override_%,%,$@) --sourcedirectory=bindings/python --buildsystem=pybuild

override_dh_auto_test: export LD_LIBRARY_PATH := $(LD_LIBRARY_PATH):$(CURDIR)/tests

override_dh_missing:
	dh_missing --fail-missing

override_dh_install:
	dh_install -Xdist-packages/capstone/lib