#!/usr/bin/make -f
# export DH_VERBOSE=1

%:
	dh $@ --parallel

#  --enable-kcapi-test     Compile kcapi test program
#  --enable-kcapi-speed    Compile kcapi-speed test program
#  --enable-kcapi-hasher   Compile hasher application
#  --enable-kcapi-rngapp   Compile rng read application
#  --enable-kcapi-encapp   Compile enc application
#  --enable-kcapi-dgstapp  Compile dgst application

kcapi_tools = \
 --enable-kcapi-rngapp \
 --enable-kcapi-encapp \
 --enable-kcapi-dgstapp

override_dh_auto_configure:
	dh_auto_configure -- $(kcapi_tools)

override_dh_auto_build-indep: 
	dh_auto_build -- html

override_dh_auto_install-indep:
	dh_auto_install -- install-html

# No tests needed for docs
override_dh_auto_test-indep:

override_dh_auto_build-arch: 
	dh_auto_build
	dh_auto_build -- man

override_dh_auto_install-arch:
	dh_auto_install -- install-man

get-orig-source:
	uscan --verbose --force-download --rename
