File: rules

package info (click to toggle)
vamp-plugin-sdk 2.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,732 kB
  • sloc: cpp: 7,565; ansic: 911; makefile: 359; sh: 170; perl: 31
file content (35 lines) | stat: -rwxr-xr-x 916 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export PREFIX=/usr
export LIBDIR=lib/$(DEB_HOST_MULTIARCH)
export DESTDIR=$(CURDIR)/debian/tmp

%:
	dh $@

override_dh_auto_build-arch:
	dh_auto_build
	docbook-to-man debian/vamp-simple-host.sgml > vamp-simple-host.1
	docbook-to-man debian/vamp-rdf-template-generator.sgml > vamp-rdf-template-generator.1

override_dh_auto_build-indep:
	doxygen build/Doxyfile
	# Don't install useless autogenerated doxygen files
	rm $(CURDIR)/doc/html/*.md5


DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
        debian/.*
# licensecheck v1
.PHONY: licensecheck
licensecheck:
	LANG=C.UTF-8 licensecheck \
		-i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \
		--check '.*' --recursive --deb-machine --lines 0 * \
		> debian/copyright_newhints
	cmp debian/copyright_hints debian/copyright_newhints \
		&& rm debian/copyright_newhints