1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
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
|