File: rules

package info (click to toggle)
cinnamon-settings-daemon 5.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,716 kB
  • sloc: ansic: 29,178; xml: 191; sh: 43; python: 29; makefile: 20
file content (33 lines) | stat: -rwxr-xr-x 856 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
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/make -f
# -*- makefile -*-

ifneq ($(DEB_HOST_ARCH_OS),linux)
CONFFLAGS = -Duse_gudev=disabled -Duse_polkit=disabled -Duse_logind=disabled -Duse_wacom=disabled
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	    --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/cinnamon-settings-daemon \
	    $(CONFFLAGS)

override_dh_link:
	dh_link
ifeq ($(DEB_HOST_ARCH_OS),linux)
ifneq (${DEB_HOST_ARCH},s390x)
	dh_link -p cinnamon-settings-daemon usr/lib/$(DEB_HOST_MULTIARCH)/cinnamon-settings-daemon/csd-wacom usr/bin/csd-wacom
endif
endif

override_dh_makeshlibs:
	# Disabled, there are no shared libraries, but some plugins that cause this
	# to fail

override_dh_auto_test:
	# Disable old test suite on build time