#!/usr/bin/make -f
# debian/rules for ttylog

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install --destdir=debian/ttylog

override_dh_installdocs:
	dh_installdocs --link-doc=ttylog

override_dh_strip:
	dh_strip --dbgsym-migration='ttylog-dbg (<< 0.28-1~)'

get-orig-source:
	uscan --force-download --rename --destdir ..

.PHONY: get-orig-source override_dh_strip
