#!/usr/bin/make -f

#
# No copyright is claimed.  This code is in the public domain; do with it
# what you wish.  Written by Joost van Baal-Ilić.
#
# Written in 2014 - 2015
#

export DH_VERBOSE = 1

%:
	dh $@

#override_dh_auto_configure:
#	make config

# force gcc-13 : treat implicit declaration as a mere warning, not yet fatal error
# as in debian 13 trixie default gcc-14
override_dh_auto_configure:
	echo 'gcc-13 -O2 -g' >conf-cc
	echo /usr >conf-home

override_dh_auto_build:
	make

override_dh_auto_install:
#	# dh_auto_install --destdir=foo
#	#
#	# install ftpd and httpd in /usr/bin
#	# make setup
#	#
#	# check permissions
	make check

override_dh_auto_clean:
	-for f in $$(cat TARGETS) conf-home utime.o utime; do test -f $$f && rm $$f; done
