#!/usr/bin/make -f include /usr/share/dpkg/vendor.mk # hardening export DEB_BUILD_MAINT_OPTIONS = hardening=+all ifeq ($(DEB_VENDOR),Debian) SETSTUFF = OFF else SETSTUFF = ON endif %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ -DWITH_FREERDP3=ON \ -DWITH_KF5WALLET=ON \ -DWITH_KIOSK_SESSION=ON \ -DWITH_NEWS=$(SETSTUFF) \ -DWITH_TIP=$(SETSTUFF) \ -DWITH_STATS=$(SETSTUFF) \ -DWITH_X2GO=ON \ -DWITH_PYTHONLIBS=ON override_dh_install: dh_install cd po; intltool-update --pot --verbose -g remmina [ -d debian/remmina-common ] && \ find $(CURDIR)/debian/remmina-common -name "*remmina.desktop" -delete && \ find $(CURDIR)/debian/remmina-common -name "*remmina.1" -delete && \ find $(CURDIR)/debian/remmina-common -type d -empty -delete || true override_dh_clean: -rm po/remmina.pot dh_clean