--===============1298789988== Content-Type: multipart/signed; boundary="nextPart1641585.98g1IKoD5L"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1641585.98g1IKoD5L Content-Type: multipart/mixed; boundary="Boundary-01=_xcHECVRzZag9Gov" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_xcHECVRzZag9Gov Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 14 February 2005 05:47, Andy wrote: > On Mon February 14 2005 00:19, Aaron J. Seigo wrote: > > this is why i use simple scripts to build modules for me. they are more > > dependable than me, never forgetting a step! ;) > > Are you sure that it's a good idea to rely on scripts? I mean if there = is > a compile error will the script blindly continue installation? Furthermore > I compile a package and then do su -c 'make install' if compile was > successfull. When using a script how to implement this? make && sudo make install ? I have attached the compile script that I use. Cheers, Waldo =2D-=20 bastian@kde.org | Free Novell Linux Desktop 9 Evaluation Download bastian@suse.com | http://www.novell.com/products/desktop/eval.html --Boundary-01=_xcHECVRzZag9Gov Content-Type: application/x-shellscript; name="compile_all" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="compile_all" #!/bin/bash cd $CVSDIR CDPATH="" summary=~/.built_summary log=~/.built_log name=`basename $0` date > $summary date > $log config=`cat config.options` pwd=$PWD for a in `cat modules`; do cd $a* result=0 if [ -e nobuild ]; then action="Skipping" result=1 fi if [ $result$name == 0compile_all ]; then action="Preparing $PWD" echo $action if test -d admin; then echo Admin OK; else ln -s ../kde-common/admin; echo Admin FIXED; fi make -f Makefile.cvs >> $log 2>&1 result=$? fi if [ $result$name == 0compile_all ]; then action="Configuring $PWD" echo $action rm config.cache >> $log 2>&1 if [ -e config.options ]; then module_config=`cat config.options` fi ./configure $config $module_config >> $log 2>&1 result=$? fi if [ $result == 0 ]; then action="Cleaning $PWD" echo $action make -k clean >> $log 2>&1 fi if [ $result == 0 ]; then action="Compiling $PWD" echo $action make -k >> $log 2>&1 result=$? fi if [ $result == 0 ]; then action="Installing $PWD" echo $action sudo make install >> $log 2>&1 result=$? fi if [ $result == 0 ]; then action="Done" echo $action fi if [ "$action" == "Skipping" ]; then echo $PWD skipped. echo $PWD skipped. >> $summary elif [ "$action" == "Done" ]; then echo $PWD build ok. >> $summary touch nobuild else echo ERROR during $action echo ERROR during $action >> $summary if [ $a == kdelibs ]; then echo Aborted! echo Aborted! >> $summary exit 1; fi fi cd $pwd; done --Boundary-01=_xcHECVRzZag9Gov-- --nextPart1641585.98g1IKoD5L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBCEHc1N4pvrENfboIRAkGPAKCJbf/98S1JExIivp2GkyP2I8h5ugCeKJuv 4VY1r9xe7XD5kp7wtd1ryIE= =+ugz -----END PGP SIGNATURE----- --nextPart1641585.98g1IKoD5L-- --===============1298789988== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1298789988==--