X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Flinux_packaging%2Fnoderun;h=90ed7f9d1ce525fcd2913ac8be15e0fd27a3cb78;hb=6ca1c8164f6d43588729cd3f7e74c27040920613;hp=f5f5ed4d7fd67aff1f3b64ab1b4b10fbdea1f508;hpb=78814265e3fcd4131ed032922a30344d43e902f2;p=ardour.git diff --git a/tools/linux_packaging/noderun b/tools/linux_packaging/noderun index f5f5ed4d7f..90ed7f9d1c 100644 --- a/tools/linux_packaging/noderun +++ b/tools/linux_packaging/noderun @@ -1,22 +1,22 @@ #!/bin/sh -BASE=$1 - -if [ x$BASE = "x" ] ; then - exit 1 -fi +BASE=$(readlink -f $0) +BASE=$(dirname $BASE) # up one +BASE=$(dirname $BASE) # up one more +BASE=$(dirname $BASE) # up again if mount | grep --silent vmshare ; then sudo mount -t vboxsf vmshare $HOME/vmshare fi cd $BASE || exit 1 -svn update || exit 1 -./waf configure --strict --noconfirm || exit 1 +git pull || exit 1 +./waf configure $* --strict --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include --with-backends=jack,alsa || exit 1 ./waf || exit 1 cd tools/linux_packaging || exit 1 -./build --public --nostrip || exit 1 -file=`ls -t *.bz2 | head -1` +./build --public --harvid --strip some || exit 1 +./package --public --singlearch || exit 1 +file=`ls -t *.tar` echo "Copying $file to shared folder ..." sudo cp $file $HOME/vmshare || exit 1