#!/bin/sh
#you can compile QPxTool simply by run "make"
#if it fails (mostly because your QT paths differs from my) try this script

#qmakeparms="INCLUDEPATH+= ../lib/qpxtransport/include ../lib/qpxplextor/include ../lib/qpxscan/include LIBS+=-lqpxtransport -lqpxplextor -lqpxscan"

inspref=`cat ../inspath`
inspath=$inspref/bin
bin="qpxtool"

echo "copying $bin to $inspath"

cp ../bin/$bin $inspath/$bin
chmod 4755 $inspath/$bin       # of Plextor features
