#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# 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  = -Wall -pedantic
export DEB_CFLAGS_MAINT_APPEND  =  -I/usr/include/gsl
# package maintainers to append LDFLAGS


%:
	dh $@

#override_dh_build-indep:
#	doxygen doxygen.config

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs/latex
	rm -rf docs/html
	rm -rf config.guess config.sub


override_dh_fixperms:
	dh_fixperms
	find debian -name "*.fasta" -exec chmod -x \{\} \;

override_dh_installman:
	mv debian/igor1 debian/igor.1
	dh_installman