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 34 35 36 37 38 39 40 41 42 43 44
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@
override_dh_autoreconf:
cp README.md README
if [ ! -e po/arctica-greeter.pot.bak ]; then \
cp po/arctica-greeter.pot po/arctica-greeter.pot.bak; \
fi
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
override_dh_auto_configure:
# LightDM in Debian 11 has lightdm-guest-session in the path given below.
# This might need adjustments if LightDM gets packaged differently.
dh_auto_configure -- GUEST_WRAPPER_BINARY=/usr/lib/$(DEB_HOST_MULTIARCH)/lightdm/lightdm-guest-session
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_clean:
dh_auto_clean
if [ -e po/arctica-greeter.pot.bak ]; then \
mv -f po/arctica-greeter.pot.bak po/arctica-greeter.pot; \
fi
rm -f src/arctica_greeter_vala.stamp
rm -f src/logo_generator_vala.stamp
rm -f tests/arctica_greeter_test_vala.stamp
rm -f src/*.c
rm -f tests/*.c
rm -f debian/theme-debian-logo.png
rm -f README
override_dh_auto_test:
override_dh_installchangelogs:
dh_installchangelogs NEWS
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
|