File: rules

package info (click to toggle)
vdr-plugin-xineliboutput 2.1.0%2Bgit20191101-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,444 kB
  • sloc: ansic: 38,190; sh: 417; makefile: 346; cpp: 11
file content (40 lines) | stat: -rwxr-xr-x 1,584 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/make -f

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

%:
	dh $@ --with vdrplugin

override_dh_auto_configure:
	./configure

override_dh_auto_build:
	dh_auto_build -- all $(MAKE_OPTIONS)
	txt2man -s 1 -t vdr-sxfe -v "Remote X-Server frontend for vdr-plugin-xineliboutput" debian/vdr-sxfe.1.txt >vdr-sxfe.1
	txt2man -s 1 -t vdr-fbfe -v "Remote Framebuffer frontend for vdr-plugin-xineliboutput" debian/vdr-fbfe.1.txt >vdr-fbfe.1

override_dh_auto_clean:
	$(MAKE) -o .dependencies clean $(MAKE_OPTIONS)
	rm -f vdr-sxfe.1 vdr-fbfe.1

override_dh_gencontrol:
	dpkg -p libxine2-dev | sed -re '/^Version:/! d; s/^Version: (([0-9]:)?([0-9]+\.){2}[0-9]+).*$$/xine:Depends=libxine2 (>= \1)/' \
	>> debian/libxine2-xvdr.substvars
	dh_gencontrol

override_dh_auto_install:
	dh_auto_install -- $(MAKE_OPTIONS)
	install -m 644 -D debian/icon.svg debian/xineliboutput-sxfe/usr/share/icons/xineliboutput-sxfe.svg
	install -m 644 -D debian/icon.svg debian/xineliboutput-sxfe/usr/share/icons/xineliboutput-fbfe.svg

override_dh_strip:
	dh_strip --dbgsym-migration='vdr-plugin-xineliboutput-dbg (<< 2.1.0+git20190511-1~)'
	dh_strip --dbgsym-migration='libxineliboutput-fbfe-dbg (<< 2.1.0+git20190511-1~)'
	dh_strip --dbgsym-migration='libxineliboutput-sxfe-dbg (<< 2.1.0+git20190511-1~)'
	dh_strip --dbgsym-migration='xineliboutput-fbfe-dbg (<< 2.1.0+git20190511-1~)'
	dh_strip --dbgsym-migration='xineliboutput-sxfe-dbg (<< 2.1.0+git20190511-1~)'
	dh_strip --dbgsym-migration='libxine2-xvdr-dbg (<< 2.1.0+git20190511-1~)'

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