#!/usr/bin/make -f

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

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh  $@

# This ./configure creates Makefile.settings
override_dh_auto_configure:
	./configure --i18n=1 --debug=0 --prefix=/usr --etcdir=/etc --strip=0

# Now the whole axel package is built into debian/tmp
# axel.install copies both usr and etc into debian/axel
# axel-kapt installation does not use gui/kapt/Makefile

override_dh_auto_install:
	dh_auto_install

override_dh_strip:
	dh_strip --dbg-package=axel-dbg
