source: trunk/third/libgtop/libgtop-mirror.sh @ 18272

Revision 18272, 1.2 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18271, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
RevLine 
[18271]1#!/bin/sh
2
3AUTODIR=/home/norwegen/auto
4CVSROOT=/pub/master/home-of-linux
5CVSHOST=cvs:
6MODULE=libgtop
7
8rm -rf $AUTODIR || exit 1
9mkdir $AUTODIR || exit 1
10cd $AUTODIR || exit 1
11
12echo "Making cpio archive out of $CVSROOT/$MODULE ..."
13
14find $CVSROOT/$MODULE | cpio -o --format=crc | gzip -9f > $MODULE-current-cvs.cpio.gz || exit 1
15
16echo "Checking out $MODULE"
17
18cvs -d $CVSHOST$CVSROOT co $MODULE || exit 1
19
20echo "Making cpio archive out of checked out sources ..."
21
22find $MODULE | cpio -o --format=crc | gzip -9f > $MODULE-current.cpio.gz || exit 1
23
24for file in README LIESMICH NEWS ChangeLog ; do
25  if [ -s $MODULE/$file ] ; then
26    cp $MODULE/$file . || exit 1
27  fi
28done
29
30tar cvf - $MODULE | gzip -9f > $MODULE-current.tar.gz || exit 1
31
32find $MODULE/doc -maxdepth 1 -type f -exec cp {} . \;
33
34# echo "Making documentation ..."
35# jade -D /usr/lib/sgml/jade_dsl -d libgtop.dsl -t sgml -V %no-make-index% libgtop.sgml > /dev/null || exit 1
36
37# echo "Making TeX documentation ..."
38# jade -D /usr/lib/sgml/jade_dsl -D /usr/lib/sgml/stylesheets -d docbook.dsl -t tex libgtop.sgml || exit 1
39# jadetex libgtop.tex || exit 1
40# jadetex libgtop.tex || exit 1
41# dvips libgtop || exit 1
42
43echo "Cleaning up ..."
44
45rm -rf $MODULE
46
47echo "Done."
Note: See TracBrowser for help on using the repository browser.