8 cd /home
/bake
/bkl
-cronjob/wxWidgets
&& cvs
-z3 update
-P -d
13 regenerate_makefiles
()
15 BAKEFILE_GEN
="python -O /home/bake/bkl-cronjob/bakefile/bin/bakefile_gen"
16 (cd /home
/bake
/bkl
-cronjob/wxWidgets
/build
/bakefiles
&& nice
$BAKEFILE_GEN)
26 rm -f /home
/bake
/bkl
-cronjob/archives
/wx
-mk-${format}-*
28 cd /home
/bake
/bkl
-cronjob/wxWidgets
32 files
="$files `find -name "$i"`"
35 if test $archtype = tar ; then
36 tar czf ..
/archives
/wx
-mk-${format}-${CURDATE}.
tar.gz
$files
37 elif test $archtype = zip ; then
38 zip -q -9 ..
/archives
/wx
-mk-${format}-${CURDATE}.
zip $files
46 rm -f /home
/bake
/bkl
-cronjob/archives
/wx
-cvs-*
47 cd /home
/bake
/bkl
-cronjob/
48 tar jcf .
/archives
/wx
-cvs-${CURDATE}.
tar.bz2 .
/wxWidgets
54 do_package
tar autoconf Makefile.
in autoconf_inc.
m4
55 do_package
zip borland makefile.bcc config.bcc
56 do_package
zip mingw makefile.gcc config.gcc
57 do_package
zip dmars makefile.dmc config.dmc
58 do_package
zip watcom makefile.wat config.wat
59 do_package
zip msvc makefile.vc config.vc
60 do_package
zip msvc6prj
'*.dsp' '*.dsw'
61 do_package
zip evcprj
'*.vcp' '*.vcw'
66 ##delete old files and then copy new ones, add a symlink
68 find /home
/ftp
/pub
/CVS_HEAD
/files
-type f
-name wx
-cvs\
*.
tar.bz2
-mtime +6 | xargs rm -rf
69 cp /home
/bake
/bkl
-cronjob/archives
/wx
-cvs-* /home
/ftp
/pub
/CVS_HEAD
/files
71 rm /home
/ftp
/pub
/CVS_HEAD
/wx
-cvs.
tar.bz2
72 ln -s /home
/ftp
/pub
/CVS_HEAD
/files
/wx
-cvs-${CURDATE}.
tar.bz2
/home
/ftp
/pub
/CVS_HEAD
/wx
-cvs.
tar.bz2
74 echo cvs checkout
done at `date` > /home
/ftp
/pub
/CVS_HEAD
/updated_at.txt
77 find /home
/ftp
/pub
/CVS_Makefiles
/files
-type f
-name wx
-mk\
* -mtime +3 | xargs rm -rf
78 cp /home
/bake
/bkl
-cronjob/archives
/wx
-mk-* /home
/ftp
/pub
/CVS_Makefiles
/files
80 rm /home
/ftp
/pub
/CVS_Makefiles
/wx
*
81 ##there musrt be an easier way of doing these links...
82 for f
in `find /home/ftp/pub/CVS_Makefiles/files -type f -name wx-mk\* -mmin -601` ; do
83 ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
85 # echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||"
88 echo CVS Makefiles generated from bakefiles last updated
at `date` > /home
/ftp
/pub
/CVS_Makefiles
/updated_at.txt