summaryrefslogtreecommitdiff
path: root/scripts/mkmakefile
authorkergoth <kergoth>2002-01-25 22:14:26 (UTC)
committer kergoth <kergoth>2002-01-25 22:14:26 (UTC)
commit15318cad33835e4e2dc620d033e43cd930676cdd (patch) (unidiff)
treec2fa0399a2c47fda8e2cd0092c73a809d17f68eb /scripts/mkmakefile
downloadopie-15318cad33835e4e2dc620d033e43cd930676cdd.zip
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2
Initial revision
Diffstat (limited to 'scripts/mkmakefile') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/mkmakefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile
new file mode 100755
index 0000000..1d21a2e
--- a/dev/null
+++ b/scripts/mkmakefile
@@ -0,0 +1,23 @@
1#!/bin/sh
2
3if [ $# -lt 1 ]
4then
5 echo "Usage: mkmakefile <dir> ..."
6 exit 1
7fi
8
9while [ $# -gt 0 ]
10do
11 DIR=`echo $1 | sed -e 's/\/$//'`
12 echo "Making $DIR/Makefile.in..."
13 H=`pwd`
14 cd $DIR
15 FILE=`basename $DIR`
16 TMAKEPATH=$QTDIR/tmake:$TMAKEPATH tmake CONFIG+=embedded -t $H/qt/tmake/propagate.t -o Makefile.in $FILE.pro
17 echo "Done."
18 shift
19 cd -
20done
21
22exit 0
23