File: rules

package info (click to toggle)
tlsh 5.0.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,964 kB
  • sloc: cpp: 9,266; python: 1,643; java: 1,214; sh: 703; javascript: 467; ansic: 54; makefile: 27; sed: 9
file content (24 lines) | stat: -rwxr-xr-x 629 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

# Make sure lintian does not complain about missing hardenings.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export PYBUILD_NAME = tlsh

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DTLSH_SHARED_LIBRARY=1

execute_after_dh_auto_build:
	dh_auto_build --sourcedirectory=py_ext --buildsystem=pybuild

execute_after_dh_auto_install: debian/tlsh_unittest.1
	dh_auto_install --sourcedirectory=py_ext --buildsystem=pybuild

override_dh_python3:
	dh_python3 -O--sourcedirectory=py_ext -O--buildsystem=pybuild

debian/tlsh_unittest.1: debian/tlsh_unittest.1.rst
	rst2man $< $@