#!/usr/bin/make -f

# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# GCC 14 no longer automatically converts unrelated pointer types,
# and it breaks i386 builds.  GCC 15 switched from -std=gnu17 to
# -std=gnu23, and it breaks nb4-mksquashfs (amd64 build). So far we
# the hard errors are only about incompatible-pointer-types.
#
# CFLAGS don't seem to be used by the build system, so use CPPFLAGS.
export DEB_CPPFLAGS_MAINT_APPEND = -Wno-error=incompatible-pointer-types

%:
	dh $@

override_dh_auto_clean:

override_dh_clean:

override_dh_auto_build:
	cd src/ && ./configure && make

override_dh_auto_install:
	dh_installdirs

override_dh_shlibdeps:
