#!/usr/bin/make -f export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) clean: dh_testdir dh_testroot dh_clean build.stamp [ ! -f Makefile ] || $(MAKE) distclean build: build-arch build-indep build-arch: build.stamp build-indep: build.stamp build.stamp: dh_testdir ./configure --prefix=/usr --mandir=/usr/share/man --with-guess-winsize $(MAKE) > $@ binary: binary-arch binary-indep binary-arch: build dh_testdir dh_testroot dh_clean $(MAKE) DESTDIR=`pwd`/debian/snarf install dh_installdocs README TODO dh_installchangelogs ChangeLog dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary-indep: .PHONY: clean build binary binary-arch binary-indep