File: rules

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

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

%:
	dh $@ --buildsystem=ros

# 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}')

# libpcl-conversions-dev captures the ABI version of libvtk9-dev
VTK_CUR = $(shell dpkg-query -W -f '$${Source:Upstream-Version}' libvtk9-dev | awk -F. '{print $$1"."$$2}')
VTK_NEXT = $(shell dpkg-query -W -f '$${Source:Upstream-Version}' libvtk9-dev | awk -F. '{print $$1"."$$2+1}')

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