diff options
| author | Guillem Jover <guillem@debian.org> | 2007-08-08 22:20:31 +0000 |
|---|---|---|
| committer | Guillem Jover <guillem@debian.org> | 2007-08-08 22:20:31 +0000 |
| commit | 71a6b53d293d303611530e805ed8fe12d62db559 (patch) | |
| tree | 1507b56fcfe1f80ea0157f469b3f31fd5926fac5 /debian | |
| parent | 497c8fa216dc86adf37e35132faecf0978ecef60 (diff) | |
Add an autoregen target to ease regenerating the autoconf patch.
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rw-r--r-- | debian/patches/90_autoconf_autogen.patch | 3 | ||||
| -rwxr-xr-x | debian/rules | 10 |
3 files changed, 12 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 38997ec..fa2108b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ gnumach (2:1.3.99.dfsg.cvs20070809-1) UNRELEASED unstable; urgency=low * New upstream CVS snapshot. + * Add an autoregen target to ease regenerating the autoconf patch. -- Samuel Thibault <samuel.thibault@ens-lyon.org> Tue, 7 Aug 2007 15:11:23 +0200 diff --git a/debian/patches/90_autoconf_autogen.patch b/debian/patches/90_autoconf_autogen.patch index 0295640..215173c 100644 --- a/debian/patches/90_autoconf_autogen.patch +++ b/debian/patches/90_autoconf_autogen.patch @@ -1,8 +1,7 @@ This patch is just autogenerated stuff, do not hack directly on it. Regenerate with: - autoreconf -fi - find -name autom4te.cache -o -name '*~' | xargs rm -rf + $ debian/rules autoregen Index: b/config.h.in diff --git a/debian/rules b/debian/rules index 5d1b403..7f5343e 100755 --- a/debian/rules +++ b/debian/rules @@ -34,6 +34,16 @@ drivers := \ include /usr/share/quilt/quilt.make +# To be run manually when packaging a new upstream version to update the +# autogenerated autoconf patch. Assumes the patch is the last one. +autoregen: + quilt push -fa || true + autoreconf -fi + find -name autom4te.cache -o -name '*~' -o \ + -name '*.rej' -o -name '*.orig' | xargs rm -rf + quilt refresh -p ab + quilt pop -a + configure: patch stamp-configure stamp-configure: dh_testdir |
