summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-04-06 13:39:39 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-04-06 13:39:39 (GMT)
commit1a4f72da5aefa92b2bb78cf1ff96c34d7c3c303c (patch)
treec341c5736ce07a441d52a54428c03e746135092e /configure
parent96f3d3e2c48ebae805f00d7ccea80ebdd976fdf7 (diff)
downloadQt-1a4f72da5aefa92b2bb78cf1ff96c34d7c3c303c.zip
Qt-1a4f72da5aefa92b2bb78cf1ff96c34d7c3c303c.tar.gz
Qt-1a4f72da5aefa92b2bb78cf1ff96c34d7c3c303c.tar.bz2
Make shipped symbian scripts available from the build-dir bin dir.
Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 0dbf98f..30bc564 100755
--- a/configure
+++ b/configure
@@ -2315,6 +2315,17 @@ if [ "$OPT_SHADOW" = "yes" ]; then
chmod 755 "$outpath/bin/syncqt"
fi
+ for i in createpackage patch_capabilities; do
+ rm -f "$outpath/bin/$i"
+ if [ -x "$relpath/bin/$i" ]; then
+ mkdir -p "$outpath/bin"
+ echo "#!/bin/sh" >"$outpath/bin/$i"
+ echo "QTDIR=\"$relpath\"; export QTDIR" >>"$outpath/bin/$i"
+ echo "\"$relpath/bin/$i\" \"\$@\"" >>"$outpath/bin/$i"
+ chmod 755 "$outpath/bin/$i"
+ fi
+ done
+
# symlink the mkspecs directory
mkdir -p "$outpath/mkspecs"
rm -f "$outpath"/mkspecs/*