File: rules

package info (click to toggle)
vdr-plugin-xine 0.9.4-16
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,756 kB
  • sloc: ansic: 14,014; makefile: 86; sh: 34
file content (23 lines) | stat: -rwxr-xr-x 676 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
21
22
23
#!/usr/bin/make -f

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

MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. \
               LOCALEDIR=debian/tmp/usr/share/locale \
               VDR_XINE_SET_VIDEO_WINDOW=1
CXXFLAGS += $(shell pkg-config vdr --variable=cxxflags)

%:
	dh $@ --parallel --with vdrplugin

override_dh_auto_build:
	dh_auto_build -- all $(MAKE_OPTIONS)
	txt2man -s 1 -t xineplayer -v "video player fro vdr-plugin-xineliboutput" debian/xineplayer.1.txt >xineplayer.1

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

override_dh_installchangelogs:
	dh_installchangelogs -- HISTORY