summaryrefslogtreecommitdiff
path: root/scripts/mkmakefile
Unidiff
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