#!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export DEB_CFLAGS_MAINT_APPEND = -DSYSTEM_DIR=\"/usr/lib/$(DEB_HOST_MULTIARCH)/odbc\" %: dh $@ --parallel --with autoreconf,pkgkde_symbolshelper override_dh_autoreconf: dh_autoreconf --as-needed override_dh_auto_configure: dh_auto_configure -- --includedir='$${prefix}/include/iodbc' run_dh_acc: # The package needs to be installed (@ in autopkgtest) for in_file in debian/*.acc.in; do \ out_file=$${in_file%.in}; \ sed 's/\$${DEB_HOST_MULTIARCH}/'"$(DEB_HOST_MULTIARCH)"'/' \ "$${in_file}" > "$${out_file}"; \ done dh_acc