File: rules

package info (click to toggle)
ros-catkin-lint 1.6.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,236 kB
  • sloc: python: 6,213; makefile: 16; sh: 2
file content (33 lines) | stat: -rwxr-xr-x 1,071 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/make -f
# -*- makefile -*-
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME = catkin-lint
export PYBUILD_DESTDIR = debian/catkin-lint
export PYBUILD_INSTALL_ARGS = --install-lib=/usr/share/catkin-lint

export SETUPTOOLS_SCM_PRETEND_VERSION = $(DEB_VERSION_UPSTREAM)

ifeq ($(PYBUILD_AUTOPKGTEST),1)
export PYTHONPATH = /usr/share/catkin-lint
endif

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	mv debian/catkin-lint/usr/bin/catkin_lint debian/catkin-lint/usr/share/catkin-lint/run

execute_before_dh_installman: debian/catkin_lint.1
	true

debian/catkin_lint.1: catkin_lint.pod
	pod2man --release="$(DEB_VERSION_UPSTREAM)" --center="Robot OS" catkin_lint.pod > debian/catkin_lint.1