export CVSROOT=oss.lineo.com:/var/cvs
-echo 'removing export_tmp'
-rm -rf export_tmp
-
-mkdir export_tmp
-exportdir=${topdir}/export_tmp
-
-cd export_tmp
-
echo "deleting tag $tag"
cvs rtag -d $tag comedilib
cvs rtag $tag comedilib
echo "exporting"
-cvs export -r $tag comedilib
+cvs export -r $tag -d comedilib-${version} comedilib
echo "diffing"
-cvs rdiff -u -r $lasttag -r $tag comedilib >../patch-comedilib-$version
-
-mv comedilib comedilib-$version
+cvs rdiff -u -r $lasttag -r $tag comedilib >patch-comedilib-$version
cd comedilib-$version
rm todo
make -C doc
-cd ${exportdir}
-
-echo "version=$version" >comedilib-$version/version
-
-tar -czf ../comedilib-$version.tgz comedilib-$version
-
-exit
-
-cd comedi-$version
-
-yes "" | make
-make
-make
+cd ${topdir}
+tar -czf comedilib-$version.tgz comedilib-$version