File: rules

package info (click to toggle)
tlsh 3.4.4+20151206-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,020 kB
  • sloc: cpp: 6,841; python: 115; sh: 48; makefile: 25; ansic: 10
file content (34 lines) | stat: -rwxr-xr-x 820 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
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

export PYBUILD_NAME = tlsh

%:
	dh $@ --with=python2,python3 --buildsystem=cmake

override_dh_auto_build:
	dh_auto_build --buildsystem=cmake
	dh_auto_build --sourcedirectory=py_ext --buildsystem=pybuild

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

override_dh_python2:
	dh_python2 -O--sourcedirectory=py_ext -O--buildsystem=pybuild

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

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

override_dh_clean:
	rm -f debian/tlsh_unittest.1
	rm -rf .pybuild
	rm -rf py_ext/build
	rm -rf bin
	rm -rf lib
	rm -rf VERSION include/version.h
	rm -f test/simple_unittest
	rm -f test/tlsh_version
	dh_clean