File: rules

package info (click to toggle)
vdr-plugin-markad 4.2.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,084 kB
  • sloc: cpp: 22,441; python: 613; makefile: 270; sh: 95
file content (25 lines) | stat: -rwxr-xr-x 523 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
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

MAKE_OPTIONS = LIBDIR=. SOFILE=libvdr-markad.so.2.6.9
CXXFLAGS += $(shell pkg-config vdr --variable=cxxflags) $(LDFLAGS)

%:
	dh $@ --with vdrplugin

override_dh_auto_build:
	dh_auto_build -- all $(MAKE_OPTIONS)

override_dh_auto_install:
	# Do nothing

override_dh_auto_clean:
	dh_auto_clean -- $(MAKE_OPTIONS)
	rm -f plugin/libvdr-*.so.*

get-vcs-snapshot:
	sh debian/get-vcs-snapshot.sh