File: rules

package info (click to toggle)
ros-catkin 0.7.4-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,776 kB
  • ctags: 363
  • sloc: python: 4,430; sh: 446; xml: 202; makefile: 135; cpp: 100
file content (20 lines) | stat: -rwxr-xr-x 524 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
# -*- makefile -*-
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

# Needed for unit tests
export PYTHONPATH = $(CURDIR)/python

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

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp
	rm -f debian/tmp/usr/share/catkin/cmake/*.pyc
	rm -f debian/tmp/usr/share/catkin/cmake/test/*.pyc

override_dh_auto_clean:
	dh_auto_clean --
	find . -name '*.pyc' -print0 | xargs -0 rm -f
	rm -f bin/catkin_findc bin/catkin_make_isolatedc