#!/usr/bin/make -f

.PHONY: override_dh_installdocs override_dh_strip override_dh_auto_configure

DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk

CFLAGS   += $(CPPFLAGS)
CXXFLAGS += $(CPPFLAGS)

DH_WITHFLAGS = --with pkgkde_symbolshelper
DH_FLAGS = --parallel --buildsystem=cmake

%:
	dh $@ $(DH_WITHFLAGS) $(DH_FLAGS)

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake

override_dh_strip:
	dh_strip --dbg-package=libcigicl1-dbg

override_dh_installdocs:
	dh_installdocs --link-doc=libcigicl1 --exclude=license.html
