updates an incorrect path name in the project configuration, the --debug option now utilizes the qmake debug release option
git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@124 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
committed by
virtuoussin13
parent
03f4297446
commit
030bc594ab
10
src/config
10
src/config
@ -31,6 +31,7 @@ prefix="/usr/local"
|
||||
installdir="";
|
||||
plain_keys=""
|
||||
debug_option="";
|
||||
build_mode="release";
|
||||
for arg in $*
|
||||
do
|
||||
case $arg in
|
||||
@ -78,7 +79,8 @@ Options:
|
||||
fi;;
|
||||
--plain_keys) plain_keys="PLAIN_KEYS";;
|
||||
--debug)
|
||||
debug_option+="_DEBUG";;
|
||||
debug_option+="_DEBUG";
|
||||
build_mode="debug";;
|
||||
*) echo "Unrecognized argument: \"$arg\". Try ./config --help for help."
|
||||
esac
|
||||
done
|
||||
@ -88,7 +90,11 @@ arg2="PREFIX=$prefix"
|
||||
arg3="DEFINES += $plain_keys $debug_option"
|
||||
arg4="INSTALL_PREFIX=${installdir}/${prefix}/"
|
||||
|
||||
$QMAKE_EXEC -makefile "$arg1" "$arg2" "$arg3" "$arg4" qjoypad.pro
|
||||
$QMAKE_EXEC -makefile DEVDIR=$devdir PREFIX=$prefix \
|
||||
"DEFINES += $plain_keys $debug_option" \
|
||||
INSTALL_PREFIX=${installdir}/${prefix}/ \
|
||||
"CONFIG += $build_mode" \
|
||||
qjoypad.pro
|
||||
|
||||
echo "
|
||||
Configuring QJoyPad installation...
|
||||
|
Reference in New Issue
Block a user