From dac633eecb1c3378a6956ef579b9f7df68a70fca Mon Sep 17 00:00:00 2001 From: Ian Beckwith Date: Mon, 19 Apr 2010 20:49:08 +0100 Subject: [PATCH] debian/rules: remove upstream target --- debian/changelog | 4 +++- debian/rules | 22 ---------------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/debian/changelog b/debian/changelog index f35ca839f..2ef8dcf54 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ gnulib (20100419+stable-1) unstable; urgency=low * New upstream stable snapshot. * Refresh 01-gnulib-directory.patch. + * debian/rules: + + Remove 'upstream' target - not needed now we use stable snapshot tarballs. - -- Ian Beckwith Mon, 19 Apr 2010 18:33:57 +0100 + -- Ian Beckwith Mon, 19 Apr 2010 20:47:24 +0100 gnulib (20100308+stable-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 62d148798..7773debfe 100755 --- a/debian/rules +++ b/debian/rules @@ -3,28 +3,6 @@ %: dh ${@} --with quilt -DATE=$(shell date +%Y%m%d) - -upstream: - # Needs: git-core - - cd .. && \ - git clone --depth 1 git://git.savannah.gnu.org/gnulib.git gnulib-$(DATE) - ( \ - BUILDDIR="`pwd`" && \ - cd ../gnulib-$(DATE) && \ - VER=`git log -1 --pretty=%h` && \ - cd .. && \ - mv gnulib-$(DATE) gnulib-$(DATE)+$$VER && \ - cd "$$BUILDDIR" && \ - dch -p -v "$(DATE)+$$VER-1" "New upstream snapshot $(DATE)+$$VER." && \ - rm -rf ../gnulib-$(DATE)+$$VER/.git ../gnulib-$(DATE)+$$VER/.gitattributes && \ - find ../gnulib-$(DATE)+$$VER -name .cvsignore | xargs rm -f && \ - find ../gnulib-$(DATE)+$$VER -name .gitignore | xargs rm -f && \ - cd .. && \ - tar cfz gnulib_$(DATE)+$$VER.orig.tar.gz gnulib-$(DATE)+$$VER \ - ) - override_dh_auto_clean: $(MAKE) -C doc clean -- 2.11.0