#!/usr/bin/make -f # Sample tmp/rules that uses debhelper. # GNU copyright 1997 by Joey Hess. # # This version is for a hypothetical package that builds an # architecture-dependant package, as well as an architecture-independent # package. # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 %: dh $@ # This has to be exported to make some magic below work. export DH_OPTIONS build: build-stamp build-stamp: dh_testdir override_dh_auto_build: CXXFLAGS="-I/usr/include/plib/" LIBS="-lplibfnt -lplibul -lglut" ./configure --prefix= --exec_prefix=/usr --mandir=\$${exec_prefix}/share/man --infodir=\$${exec_prefix}/share/info --sysconfdir=\$${prefix}/etc/ --includedir=\$${exec_prefix}/include --datadir=\$${exec_prefix}/share $(MAKE) override_dh_fixperms-arch: dh_fixperms chgrp games `pwd`/debian/openuniverse/var/games/openuniverse/scrshots chmod g+ws `pwd`/debian/openuniverse/var/games/openuniverse/scrshots