File: rules

package info (click to toggle)
vdr-plugin-skinenigmang 0.1.2%2Bgit20180128-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 976 kB
  • sloc: ansic: 6,154; makefile: 117; cpp: 91; sh: 13
file content (20 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale HAVE_IMAGEMAGICK=1
CXXFLAGS += $(shell pkg-config vdr --variable=cxxflags)

%:
	dh $@ --with vdrplugin

override_dh_auto_build:
	dh_auto_build -- all $(MAKE_OPTIONS)

override_dh_auto_clean:
	$(MAKE) -o .dependencies clean $(MAKE_OPTIONS)
	rm -rf locale libvdr-*.so.*

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