]> rtime.felk.cvut.cz Git - sojka/debian/lightdm.git/blob - debian/rules
13672b4ec974f00271659f9415ca2d8daf1eb369
[sojka/debian/lightdm.git] / debian / rules
1 #!/usr/bin/make -f
2
3 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1
4 export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow
5
6 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
7
8 override_dh_auto_configure:
9         dh_auto_configure -- --with-greeter-user=lightdm --with-user-session=lightdm-xsession --enable-introspection=no --disable-silent-rules
10
11 override_dh_installinit:
12         dh_installinit --noscripts
13
14 override_dh_install:
15         find debian/tmp -name '*.la' -delete
16         rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lightdm/gdmflexiserver
17         dh_install --fail-missing
18
19 %:
20         dh $@ --parallel
21
22 override_dh_auto_test: