File: rules

package info (click to toggle)
libtheora 1.1.1+dfsg.1-15
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,460 kB
  • sloc: ansic: 32,561; sh: 9,675; makefile: 744
file content (29 lines) | stat: -rwxr-xr-x 727 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
#!/usr/bin/make -f

CONFIG_SHELL = /bin/sh
export CONFIG_SHELL
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

# Enable Telemetry debugging information (LP: #627854), see
# <URL: https://people.xiph.org/~xiphmont/demo/theora/demo2.html >
override_dh_auto_configure:
	dh_auto_configure -- --enable-telemetry

override_dh_strip:
	# obsolete after buster
	dh_strip --dbgsym-migration='libtheora-dbg (<< 1.1.1+dfsg.1-15~)'

override_dh_install-arch:
	dh_install
	for i in debian/libtheora-bin/usr/bin/*; do \
		mv $$i debian/libtheora-bin/usr/bin/theora_`basename $$i`; \
	done

override_dh_installdocs:
	dh_installdocs README AUTHORS

override_dh_autoreconf:
	dh_autoreconf autoreconf -- -i -f -I m4