File: rules

package info (click to toggle)
readosm 1%3A1.1.0a%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,040 kB
  • sloc: sh: 11,264; ansic: 4,226; makefile: 38
file content (25 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile -*-

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

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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

UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')

%:
	dh $@

execute_after_dh_auto_build:
	doxygen

execute_before_dh_install:
	# Remove useless autogenreated doxygen files
	rm -f html/*.md5

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(UPSTREAM_VERSION)