File: rules

package info (click to toggle)
apriltag 3.4.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,660 kB
  • sloc: ansic: 174,732; cpp: 153; xml: 21; makefile: 11
file content (24 lines) | stat: -rwxr-xr-x 725 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

export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

# I turn this off because it was breaking the build. Only on ubuntu and only on
# ppc64el this was tickled in libstb:
#   https://launchpadlibrarian.net/844900354/buildlog_ubuntu-resolute-ppc64el.apriltag_3.4.5-3build1_BUILDING.txt.gz
export DEB_CFLAGS_MAINT_APPEND=-Wno-maybe-uninitialized

%:
	dh $@ --buildsystem=cmake

execute_after_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