File: rules

package info (click to toggle)
xine-ui 0.99.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,312 kB
  • sloc: ansic: 72,130; sh: 7,115; makefile: 634; perl: 18; sed: 16; xml: 9
file content (34 lines) | stat: -rwxr-xr-x 954 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS	 = hardening=+all

%:
	dh $@

override_dh_auto_configure: debian/xine-ui.postinst
	dh_auto_configure -- --with-aalib --enable-vdr-keys

override_dh_clean:
	dh_clean build-stamp debian/gxine.postinst \
		po/*.gmo po/stamp-po \
		misc/xine-bugreport misc/xine-check \
		src/xitk/xine-toolkit/po/*.gmo \
		src/xitk/xine-toolkit/po/stamp-po \
		$(basename $(shell find doc -name \*.?.in))

execute_after_dh_auto_install:
	mv debian/tmp/usr/share/doc/xitk/README \
	   debian/tmp/usr/share/doc/xine-ui/README.xitk
	recode latin1..utf8 \
		debian/tmp/usr/share/man/man*/*.? \
		debian/tmp/usr/share/man/*/man*/*.? \
		debian/tmp/usr/share/doc/xine-ui/README.xitk

debian/xine-ui.postinst: debian/xine-ui.postinst.in debian/rules
	sed -e s^@XINE_LIST@^`pkg-config --variable=xine_list libxine`^g <$< >$@

override_dh_missing:
	dh_missing --list-missing

execute_before_dh_gencontrol:
	dh_xine ffmpeg x console