File: rules

package info (click to toggle)
libdigidoc 3.10.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,432 kB
  • sloc: ansic: 29,052; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 576 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
#!/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 --list-missing

.PHONY: override_dh_auto_configure