Author: kibi Date: 2008-06-09 06:40:41 +0000 (Mon, 09 Jun 2008) New Revision: 7307
Modified: packages/trunk/teg/debian/changelog packages/trunk/teg/debian/rules Log: Use a quilt.make include and appropriate targets. Keep .pc/* out of Debian diff. Modified: packages/trunk/teg/debian/changelog =================================================================== --- packages/trunk/teg/debian/changelog 2008-06-09 06:31:20 UTC (rev 7306) +++ packages/trunk/teg/debian/changelog 2008-06-09 06:40:41 UTC (rev 7307) @@ -17,6 +17,9 @@ * Add myself to Uploaders. * Remove “-1” from the version of libgtk2.0-dev in Build-Depends, which might make the life of backporters easier. + * Use a quilt.make include, and patch/unpatch targets rather than + calling quilt directly. That also keeps .pc/* away from the Debian + diff. -- Eddy Petrișor <[EMAIL PROTECTED]> Wed, 05 Mar 2008 02:40:38 +0200 Modified: packages/trunk/teg/debian/rules =================================================================== --- packages/trunk/teg/debian/rules 2008-06-09 06:31:20 UTC (rev 7306) +++ packages/trunk/teg/debian/rules 2008-06-09 06:40:41 UTC (rev 7307) @@ -4,6 +4,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/quilt/quilt.make + export CFLAGS := -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -14,8 +16,7 @@ configure: configure-stamp -configure-stamp: - QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 +configure-stamp: patch dh_testdir ./configure --prefix=/usr \ --bindir=/usr/games \ @@ -32,12 +33,11 @@ $(MAKE) touch build-stamp -clean: +clean: realclean unpatch +realclean: dh_testdir dh_testroot [ ! -f Makefile ] || $(MAKE) distclean -# rm -f po/*.gmo configure-stamp build-stamp config.log config.status - QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 dh_clean po/*.gmo configure-stamp build-stamp config.log config.status install: build _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits