#!/usr/bin/make -f ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) DFLAGS = -fdebug else DFLAGS = -frelease endif %: dh $@ override_dh_auto_build: dh_auto_build -- DFLAGS="$(DFLAGS)" get-orig-source: dh_testdir dh_testroot wget http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr0_15.zip unzip gr0_15.zip rm gr/*.dll rm gr/*.exe rm gr/lib/*.lib rm gr/resource/*.RES tar cvfz ../gunroar_0.15.dfsg1.orig.tar.gz gr rm -rf gr0_15.zip gr