blob: 94059222a9dedda61183a2aea269763ec7f0be4f (
plain)
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
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/architecture.mk
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
override_dh_auto_configure:
dh_auto_configure -- --with-greeter-user=lightdm --with-user-session=lightdm-xsession --enable-introspection=yes --disable-silent-rules --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/$(DEB_SOURCE)/
override_dh_installchangelogs:
dh_installchangelogs -- NEWS
override_dh_installinit:
dh_installinit --noscripts
override_dh_install:
find debian/tmp -name '*.la' -delete
find debian/tmp/etc/apparmor.d -type f -exec chmod 0644 '{}' \;
dh_install --fail-missing -X etc/init/lightdm.conf -X etc/apparmor.d/lightdm-guest-session
%:
dh $@ --with systemd --parallel
override_dh_auto_test:
override_dh_systemd_start:
dh_systemd_start -plightdm --no-start -r lightdm.service
|