File: rules

package info (click to toggle)
libdigidoc 3.10.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,528 kB
  • sloc: ansic: 29,054; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 560 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
#!/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)" \
	-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
	-DINSTALL_DOC=YES

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

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)

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