|
From: Heiko Z. <smi...@us...> - 2005-07-20 18:18:14
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv523/scripts Modified Files: Tag: rel-1-2-patches 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.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- dvd+rw-tools 20 Jul 2005 17:09:11 -0000 1.1.2.1 +++ dvd+rw-tools 20 Jul 2005 18:17:29 -0000 1.1.2.2 @@ -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 ;; |