File: rules

package info (click to toggle)
light-locker 1.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 3,292 kB
  • sloc: ansic: 6,060; sh: 4,120; makefile: 195
file content (20 lines) | stat: -rwxr-xr-x 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/architecture.mk
ifeq ($(DEB_BUILD_ARCH_OS),linux)
	SYSTEMD_ENABLE=--with-systemd
endif

override_dh_auto_configure:
	NOCONFIGURE=1 xdt-autogen
	dh_auto_configure -- \
		$(SYSTEMD_ENABLE) \
		--with-upower \
		--with-console-kit=no \
		--with-mit-ext

%:
	dh $@