File: rules

package info (click to toggle)
libdvdnav 6.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,104 kB
  • sloc: ansic: 7,493; sh: 4,154; makefile: 72; cpp: 71
file content (27 lines) | stat: -rwxr-xr-x 626 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
#!/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_missing:
	dh_missing --fail-missing