Create drivers.txt. r0_7_62
authorDavid Schleef <ds@schleef.org>
Tue, 22 Jan 2002 09:47:25 +0000 (09:47 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 22 Jan 2002 09:47:25 +0000 (09:47 +0000)
scripts/release

index 7769fe1d8b3fb84535accb37fa13e54f52fb0c57..e1006036ddc657bd91ca7c77b1ca63f4890ebd6b 100755 (executable)
@@ -3,6 +3,8 @@
 export CVSROOT=ds@oss.lineo.com:/var/cvs
 export CVS_RSH=ssh
 
+topdir=$(pwd)
+
 if [ ! "$1" ]
 then
        echo -n "minor version: "
@@ -31,13 +33,14 @@ cvs rdiff -u -r $lasttag -r $tag comedi >../patch-comedi-$version
 
 mv comedi comedi-$version
 
-#mkdir comedi-$version/include/comedi
-#mkdir comedi-$version/include/modbuild
+cd comedi-$version
 
 sed "s/^SUBLEVEL.*/SUBLEVEL = $minor/" -e \
        "s/^EXTRAVERSION.*/EXTRAVERSION = /" \
-       comedi-$version/Makefile >Makefile.tmp
-mv Makefile.tmp comedi-$version/Makefile
+       Makefile >Makefile.tmp
+mv Makefile.tmp Makefile
+make drivers.txt
 
+cd $topdir
 tar -czvf ../comedi-$version.tgz comedi-$version