File: rules

package info (click to toggle)
apriltag 3.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,176 kB
  • sloc: ansic: 174,030; cpp: 402; makefile: 68; python: 26; xml: 19; sh: 8
file content (22 lines) | stat: -rwxr-xr-x 446 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

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

override_dh_python3:
	dh_numpy3
	dh_python3

override_dh_auto_install:
	dh_auto_install

	mv debian/tmp/usr/bin/simple_demo debian/tmp/usr/bin/apriltag
	rm -f debian/tmp/usr/bin/*_demo

	chrpath -d debian/tmp/usr/lib/python*/dist-packages/*

# don't compress sources in the examples
override_dh_compress:
	dh_compress -X.cc -X.c