#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Level 4 ensures build stops if symbols don't match and forces maintainer to
# investigate potential ABI changes
# https://manpages.debian.org/testing/dpkg-dev/dpkg-gensymbols.1.en.html
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@

# libxdelta2t64 and libxdelta2-dev are Multi-Arch: same, so the libraries have
# to stay in the multiarch directory they have always been installed in.
override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)
