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
|
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DH_VERBOSE = 1
ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
SUBSTVARSREC = -Vdist:Recommends="desktop-base"
else
SUBSTVARSREC = -Vdist:Recommends="lightdm-settings"
endif
%:
dh $@ --without=autoreconf --buildsystem=meson
override_dh_missing:
dh_missing --fail-missing
override_dh_gencontrol:
dh_gencontrol -- $(SUBSTVARSREC)
override_dh_auto_install:
dh_auto_install
ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
dh_install debian/15_slick-greeter.gschema.override /usr/share/glib-2.0/schemas/
endif
|