[Pkg-gnutls-commits] CVS gnutls8

Ivo Timmermans ivo@quantz.debian.org
Wed, 03 Dec 2003 22:37:39 +0100


Update of /cvsroot/pkg-gnutls/gnutls8
In directory quantz:/tmp/cvs-serv26049

Modified Files:
	rules 
Log Message:
Deduct the version number from the name fo the tarball.


--- /cvsroot/pkg-gnutls/gnutls8/rules	2003/10/31 17:46:19	1.1.1.1
+++ /cvsroot/pkg-gnutls/gnutls8/rules	2003/12/03 21:37:39	1.2
@@ -5,7 +5,8 @@
   CFLAGS += -fno-gcse
 endif
 
-DEB_TAR_SRCDIR = gnutls-0.9.94
+VERSION = $(shell echo *.tar.gz | sed -e 's/gnutls-\(.*\)\.tar\.gz/\1/g')
+DEB_TAR_SRCDIR = gnutls-$(VERSION)
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
@@ -25,5 +26,6 @@
 	cp -a $(DEB_SRCDIR)/doc/tex/gnutls/*.png debian/libgnutls-doc/usr/share/doc/libgnutls-doc/html/
 
 post-patches::
+	cd $(DEB_SRCDIR) && chmod +x doc/scripts/sort1.pl doc/scripts/gdoc
 	cd $(DEB_SRCDIR) && libtoolize --force --copy && aclocal && autoheader && automake --force --copy && autoconf