File: rules

package info (click to toggle)
vdr-plugin-vnsiserver 1%3A1.8.0%2Bgit20211205-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 680 kB
  • sloc: ansic: 12,336; makefile: 89; sh: 13
file content (22 lines) | stat: -rwxr-xr-x 539 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
#!/usr/bin/make -f

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

# This has to be exported to make some magic below work.
export DH_OPTIONS

-include /usr/share/dpkg/buildtools.mk
export PKG_CONFIG ?= pkg-config

PLG_PACKAGE = $(filter-out %-dbg, $(shell dh_listpackages))
DBG_PACKAGE = $(filter %-dbg, $(shell dh_listpackages))

%:
	dh $@ --with vdrplugin

override_dh_strip:
	dh_strip --dbgsym-migration='vdr-plugin-live-dbg (<< 1:1.8.0-1~)'

override_dh_auto_install:
	dh_auto_install --destdir=debian/$(PLG_PACKAGE)