File: rules

package info (click to toggle)
ros-pluginlib 1.10.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 296 kB
  • ctags: 229
  • sloc: cpp: 721; ansic: 564; xml: 49; python: 17; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
	dh $@ --buildsystem=cmake --builddirectory=build

# test suite is broken atm.
override_dh_auto_test:

override_dh_auto_configure:
	dh_auto_configure
	printf 'add_definitions(-DCMAKE_LIBRARY_ARCHITECTURE=\\"%s\\")\n' '$${CMAKE_LIBRARY_ARCHITECTURE}' >> build/catkin_generated/installspace/pluginlibConfig.cmake

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

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