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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf --with python2

override_dh_installchangelogs:
	dh_installchangelogs -XNEWS -XChangeLog

override_dh_install:
	mv $(CURDIR)/debian/tmp/usr/bin/searpc-codegen.py $(CURDIR)/debian/tmp/usr/bin/searpc-codegen
	dh_install -X.la -X.pyc -X.pyo --fail-missing
