File: rules

package info (click to toggle)
libdvdnav 5.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,144 kB
  • ctags: 1,040
  • sloc: ansic: 7,950; sh: 4,175; cpp: 71; makefile: 68
file content (30 lines) | stat: -rwxr-xr-x 705 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_clean:
	[ ! -f configure ] || dh_auto_clean
	rm -rf doc/html doc/latex

override_dh_auto_configure:
	dh_auto_configure -- --docdir=/usr/share/doc/libdvdnav-doc --enable-static --disable-silent-rules

override_dh_auto_build:
	dh_auto_build
	cd doc && doxygen doxy.conf

override_dh_auto_install:
	dh_auto_install
	# Removing unused files
	rm -f debian/tmp/usr/lib/*/*.la
	rm -f debian/tmp/usr/share/doc/libdvdnav-doc/COPYING
	rm -f debian/tmp/usr/share/doc/libdvdnav-doc/ChangeLog

override_dh_install:
	dh_install --fail-missing

override_dh_strip:
	dh_strip --dbgsym-migration='libdvdnav-dbg (<< 5.0.3-2~)'