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

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

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

%:
	dh $@

execute_after_dh_install:
	mkdir -p $(CURDIR)/debian/openfpgaloader/usr/share/man/man1
	txt2man -t openFPGALoader -s 1 openFPGALoader.txt > $(CURDIR)/debian/openfpgaloader/usr/share/man/man1/openFPGALoader.1
