File: rules

package info (click to toggle)
ros-ros-comm 1.12.6-2%2Bdeb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,920 kB
  • sloc: cpp: 37,875; python: 36,395; xml: 2,370; ansic: 2,095; sh: 103; makefile: 24
file content (18 lines) | stat: -rwxr-xr-x 739 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
# -*- makefile -*-
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
	dh  $@ --parallel --with=python2 --buildsystem=cmake --builddirectory=build

# Due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810990 we moved the
# xmlrpcpp includes to /usr/include/xmlrpcpp. As this is different to ROS
# upstream, we add the path to the cmake file, so all includes are found
# without the xmlrpcpp path as well.
override_dh_auto_configure:
	dh_auto_configure
	sed -i -e 's#set(_include_dirs "include")#set(_include_dirs "include;/usr/include/xmlrpcpp")#' build/utilities/xmlrpcpp/catkin_generated/installspace/xmlrpcppConfig.cmake

get-orig-source:
	uscan --verbose --force-download --repack --compress xz