From b13d95b210c7d16229514afc66e32a1de09a075c Mon Sep 17 00:00:00 2001 From: sandman Date: Wed, 26 Jun 2002 23:13:50 +0000 Subject: Major pro file overhaul from davipt. Commited by me, since it touches many core files ... please report bugs on this to davipt --- (limited to 'configure') diff --git a/configure b/configure index a9d229e..8b0f37e 100755 --- a/configure +++ b/configure @@ -95,6 +95,7 @@ then if [ -f configs/linux-$PLATFORM-g++-$SHARING$DEBUG ] then TARGET=configs/linux-$PLATFORM-g++-$SHARING$DEBUG + PLATFORM=linux-$PLATFORM-g++ else echo echo ' The specified platform/compiler not supported: ' $TARGET @@ -139,7 +140,6 @@ mkdir -p include/qpe mkdir -p include/opie ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) - echo Creating makefiles... # Set version for library directly @@ -182,7 +182,7 @@ for a in $TOMAKE ; do ) echo -n "." # echo Building $N.. - appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | sed 's/ //g'` + appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | tr -d " \t"` translation=`grep '^TRANSLATION.*[^+]=.*' $a/$f.pro | sed 's,^TRANSL.*=.*i18n\/.*\/,,' | sed 's/ //g' | sed 's,\.ts.*,,' | sed 's,^lib,,' ` if [ -n "$translation" -a -n "$appname" ] then -- cgit v0.9.0.2