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
|