#!/usr/bin/make -f

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

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND  = -fPIC
export DEB_CXXFLAGS_MAINT_APPEND  = -fPIC

# variables for autotools
export AUTOMAKE = automake --foreign

%:
	dh $@

override_dh_auto_configure:
	./configure --enable-shared --prefix=/usr

execute_after_dh_install:
	cp include/Scintilla.iface debian/libfxscintilla-dev/usr/include/fxscintilla/
