#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir)

%:
	dh $@ --with ppp

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-gtk4 \
		--disable-static \
		--with-pppd-plugin-dir=$(PPPD_PLUGIN_DIR)

execute_before_dh_install:
	find debian/tmp -name '*.la' -print -delete
