debian/rules: remove upstream target
authorIan Beckwith <ianb@erislabs.net>
Mon, 19 Apr 2010 19:49:08 +0000 (20:49 +0100)
committerIan Beckwith <ianb@erislabs.net>
Mon, 19 Apr 2010 19:49:08 +0000 (20:49 +0100)
debian/changelog
debian/rules

index f35ca83..2ef8dcf 100644 (file)
@@ -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 <ianb@debian.org>  Mon, 19 Apr 2010 18:33:57 +0100
+ -- Ian Beckwith <ianb@debian.org>  Mon, 19 Apr 2010 20:47:24 +0100
 
 gnulib (20100308+stable-1) unstable; urgency=low
 
index 62d1487..7773deb 100755 (executable)
@@ -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