#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ override_dh_auto_configure: if [ ! -e Makefile.orig ]; then mv -v Makefile Makefile.orig; fi dh_auto_configure override_dh_auto_clean: -$(MAKE) mrproper if [ -e Makefile.orig ]; then mv -v Makefile.orig Makefile; fi debconf-updatepo override_dh_auto_install: dh_auto_install -- prefix=$(CURDIR)/debian/tmp/usr