File: rules

package info (click to toggle)
libdigidoc 3.10.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,452 kB
  • sloc: ansic: 29,052; makefile: 17
file content (26 lines) | stat: -rwxr-xr-x 610 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
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

DEB_CMAKE_EXTRA_FLAGS = \
	-DCMAKE_INSTALL_SYSCONFDIR="/etc" \
	-DCMAKE_INSTALL_LIBDIR="lib/$(DEB_HOST_MULTIARCH)" \
	-DINSTALL_DOC=YES

%:
	dh "$@" --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)

override_dh_strip:
	dh_strip --ddeb-migration='libdigidoc-dbg (<< 3.10.1.1208+ds1-2)'

override_dh_install:
	dh_install -plibdigidoc-common --exclude=TEST
	dh_install --remaining-packages

override_dh_missing:
	dh_missing --list-missing

.PHONY: override_dh_auto_configure