#!/usr/bin/make -f
# -*- makefile -*-

LDFLAGS+=-Wl,--as-needed
export REPACK_SH=$(CURDIR)/debian/repack.sh

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	dh_auto_build -- convert4chan

override_dh_auto_install:
	dh_auto_install
	dh_install convert4chan usr/bin/

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog
