4 WORKDIR
=/home
/bake
/bkl
-cronjob
7 LD_LIBRARY_PATH
=/usr
/local
/lib
12 cd ${WORKDIR}/wxWidgets
14 find .
-name \.
#\* | xargs rm -rf
20 regenerate_makefiles
()
22 (cd ${WORKDIR}/wxWidgets
/build
/bakefiles
&& nice python
-O /usr
/local
/bin
/bakefile_gen
)
32 rm -f ${WORKDIR}/archives
/wx
-mk-${format}-*
34 cd ${WORKDIR}/wxWidgets
38 files
="$files `find -name "$i"`"
41 if test $archtype = tar ; then
42 tar czf ..
/archives
/wx
-mk-${format}-${CURDATE}.
tar.gz
$files
43 elif test $archtype = zip ; then
44 ### zip -l -q -9 ../archives/wx-mk-${format}-${CURDATE}.zip $files
45 zip -q -9 ..
/archives
/wx
-mk-${format}-${CURDATE}.
zip $files
56 do_package
tar autoconf Makefile.
in autoconf_inc.
m4
57 do_package
zip gnu makefile.unx
58 do_package
tar gnu makefile.unx
59 do_package
zip mingw makefile.gcc config.gcc
60 do_package
zip dmars makefile.dmc config.dmc makefile.dms config.dms
61 do_package
zip watcom_msw makefile.wat config.wat
62 do_package
zip msvc makefile.vc config.vc
63 do_package
zip msvc6prj
'*.dsp' '*.dsw'
64 do_package
zip msvc7
-8prj '*.vcproj' '*.sln'
65 do_package
zip evcprj
'*.vcp' '*.vcw'
66 (cd ${WORKDIR}/wxWidgets
/build
/bakefiles
&& nice python
-O /usr
/local
/bin
/bakefile_gen
-f watcom
-d ..
/os
2/Bakefiles.os2.bkgen
)
67 do_package
zip watcom_os2 makefile.wat config.wat
72 ##delete old files and then copy new ones, add a symlink
75 find ${FTPDIR}/Daily_Makefiles
/files
-type f
-name wx
-mk\
* -mtime +3 | xargs rm -rf
76 cp ${WORKDIR}/archives
/wx
-mk-* ${FTPDIR}/Daily_Makefiles
/files
78 rm -f ${FTPDIR}/Daily_Makefiles
/wx
* ${FTPDIR}/Daily_Makefiles
/MD5SUM
79 ##there must be an easier way of doing these links...
80 for f
in `find ${FTPDIR}/Daily_Makefiles/files -type f -name wx-mk\* -mmin -601` ; do
81 ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
83 md5sum ${FTPDIR}/Daily_Makefiles
/wx
* > ${FTPDIR}/Daily_Makefiles
/MD5SUM
85 echo CVS Makefiles generated from bakefiles last updated
at `date -u` > ${FTPDIR}/Daily_Makefiles
/updated_at.txt
88 find ${FTPDIR}/Daily_HEAD
/files
-type f
-name wx\
* -mtime +3 | xargs rm -rf
89 cp ${WORKDIR}/archives
/win
/*.exe
${FTPDIR}/Daily_HEAD
/files
91 rm -f ${FTPDIR}/Daily_HEAD
/*.exe
${FTPDIR}/Daily_HEAD
/MD5SUM
92 ##there must be an easier way of doing these links...
93 for f
in `find ${FTPDIR}/Daily_HEAD/files -type f -name wx\*.exe -mmin -601` ; do
94 ln -s $f `echo $f | sed -e "s/-${CURDATE}//" | sed -e "s|/files||" `
96 md5sum ${FTPDIR}/Daily_HEAD
/wx
* > ${FTPDIR}/Daily_HEAD
/MD5SUM
98 echo CVS HEAD last updated
at `date -u` > ${FTPDIR}/Daily_HEAD
/updated_at.txt
107 ### starts with wx***.zip
109 for f
in `find ${WINSRCDIR}/ -maxdepth 1 -name wx\*.zip ` ; do
110 cp $f ${WORKDIR}/archives
/win
/`basename $f | sed -e "s/.zip//"`-${CURDATE}.
zip
113 for f
in `find ${WINSRCDIR}/ -maxdepth 1 -name wx\*.exe ` ; do
114 cp $f ${WORKDIR}/archives
/win
/`basename $f | sed -e "s/.exe//"`-${CURDATE}.exe