From da15d2d384bd96ba90d764e21b099225b5117e03 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 15 Feb 2009 10:18:02 -0700 Subject: [PATCH] clean up diff, add watch file --- debian/changelog | 6 +++++- debian/rules | 11 ++++------- debian/watch | 3 +++ 3 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog index 516ff73..db4c6fd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,12 @@ mtx (1.3.12-1) unstable; urgency=low * new upstream version, closes: #500590 * clean up lintian warnings + * incorporate two changes suggested by a patch from Adam Cécile (Le_Vert): + * add debian/watch + * move config.* update to configure target, yields a smaller diff that + doesn't clash with git-buildpackage... already had autotools-dev build dep! - -- Bdale Garbee Sun, 15 Feb 2009 09:39:12 -0700 + -- Bdale Garbee Sun, 15 Feb 2009 10:17:54 -0700 mtx (1.3.11-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 79c0cb2..4ebd577 100755 --- a/debian/rules +++ b/debian/rules @@ -7,6 +7,9 @@ export DH_VERBOSE=1 configure: configure-stamp configure-stamp: dh_testdir + # pick up latest config files provided by autotools-dev + cp -f /usr/share/misc/config.sub config.sub + cp -f /usr/share/misc/config.guess config.guess ./configure --prefix=/usr touch configure-stamp @@ -20,14 +23,8 @@ build-stamp: configure-stamp clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp + rm -f build-stamp configure-stamp config.guess config.sub [ ! -f Makefile ] || $(MAKE) distclean - - -test -r /usr/share/misc/config.sub && \ - cp -f /usr/share/misc/config.sub config.sub - -test -r /usr/share/misc/config.guess && \ - cp -f /usr/share/misc/config.guess config.guess - dh_clean install: build diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ab1ee98 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/~debian$// \ +http://sf.net/mtx/mtx-([0-9\.]+)\.tar\.gz -- 2.47.2