#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk CFLAGS += $(CPPFLAGS) %: dh $@ override_dh_gencontrol: dh_gencontrol -- \ -Vlib:Depends=$(shell dpkg-query -W -f '$${Depends}' libpurple-dev \ | sed -E 's/.*(libpurple[[:alnum:].-]+).*/\1/')