File: rules

package info (click to toggle)
ros-perception-pcl 1.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,384 kB
  • sloc: cpp: 6,695; xml: 297; python: 131; sh: 21; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 625 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# dynamic_reconfigure encodes the srcfile with full path
export DEB_BUILD_MAINT_OPTIONS = buildinfo=+path hardening=+all

%:
	dh $@

# libpcl-conversions-dev captures the versioned include path of libpcl-dev
PCL_CUR = $(shell dpkg-query -W -f '$${Source:Upstream-Version}' libpcl-dev | awk -F. '{print $$1"."$$2}')
PCL_NEXT = $(shell dpkg-query -W -f '$${Source:Upstream-Version}' libpcl-dev | awk -F. '{print $$1"."$$2+1}')

override_dh_gencontrol:
	dh_gencontrol -- -Vpcl:CUR="$(PCL_CUR)" -Vpcl:NEXT="$(PCL_NEXT)"

override_dh_auto_test:
	make -C obj-$(DEB_HOST_GNU_TYPE) run_tests
	catkin_test_results