#!/usr/bin/make -f # DH_VERBOSE := 1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all optimize=+lto %: dh $@ override_dh_auto_configure: dh_auto_configure -- --with-constfuncs=yes override_dh_clean: dh_clean find . -name ".roundTripNCL*" -delete override_dh_install: dh_install d-shlibmove --commit \ --multiarch \ --devunversioned \ --movedev "debian/tmp/usr/include/ncl/*.h" usr/include/ncl \ --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \ debian/tmp/usr/lib/*/libncl.so # dh_missing found this but it should not be installed rm -f debian/tmp/usr/include/ncl/nxsblock.cpp