File: rules

package info (click to toggle)
lief 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 16,036 kB
  • sloc: cpp: 76,013; python: 6,167; ansic: 3,355; pascal: 404; sh: 98; makefile: 32
file content (21 lines) | stat: -rwxr-xr-x 571 bytes parent folder | download | duplicates (2)
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

#export DH_VERBOSE = 1
include /usr/share/dpkg/architecture.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DDEB_HOST_MULTIARCH=$(DEB_HOST_MULTIARCH) \
		-DLIEF_DOC=0 \
		-DLIEF_PYTHON_API=0 \
		-DLIEF_INSTALL_PYTHON=0 \
		-DLIEF_LOGGING=0

override_dh_install:
	dh_install --fail-missing -X/usr/share/LIEF/examples -X/usr/share/LIEF/cmake

override_dh_gencontrol:
	dh_gencontrol -- -Vmisc:Built-Using="$(shell dpkg-query --showformat='$${source:Package} (=$${source:Version}), ' --show nlohmann-json3-dev libeasyloggingpp-dev)"