#!/usr/bin/make -f # DH_VERBOSE := 1 include /usr/share/dpkg/default.mk # this provides: # DEB_SOURCE: the source package name # DEB_VERSION: the full version of the package (epoch + upstream vers. + revision) # DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision # DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch # DEB_VERSION_UPSTREAM: the package's upstream version # DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ override_dh_install: dh_install d-shlibmove --commit \ --multiarch \ --devunversioned \ --override s/libjsoncpp1-dev/libjsoncpp-dev/ \ --exclude-la \ --movedev debian/tmp/usr/include/* usr/include \ debian/tmp/usr/lib/*/*.so