|
From: Heiko Z. <smi...@us...> - 2005-07-20 18:30:45
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3873/scripts Modified Files: dvd+rw-tools Log Message: make sure build scripts works with new 1.3 parallel building process don't build of options is not selected in menuconfigmake sure build scripts Index: dvd+rw-tools =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/dvd+rw-tools,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- dvd+rw-tools 20 Jul 2005 17:32:22 -0000 1.2 +++ dvd+rw-tools 20 Jul 2005 18:30:24 -0000 1.3 @@ -26,19 +26,21 @@ case $1 in build ) - make all || exit 1 - make rpl8 || exit 1 + if [ "$CONFIG_DVDRWTOOLS" = "y" ]; then + make all || exit 1 + make rpl8 || exit 1 + fi ;; install ) if [ "$CONFIG_DVDRWTOOLS" = "y" ]; then echo "Installing dvdrwtools" - rm -rf $WORKDIR/tmp/usr - mkdir -p $WORKDIR/tmp/usr - make install prefix=$WORKDIR/tmp/usr || exit 1 - copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1 - rm -rf $WORKDIR/tmp || exit 1 + rm -rf $TMPDIR/usr + mkdir -p $TMPDIR/usr + make install prefix=$TMPDIR/usr || exit 1 + copy_files $TMPDIR/usr $CDDIR/ || exit 1 + rm -rf $TMPDIR || exit 1 fi ;; |