aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHolger Schroeder <holger.schroeder.ext@basyskom.de>2010-06-11 14:41:37 +0200
committerDaniel d'Andrada <daniel.dandrada@nokia.com>2010-06-30 11:21:59 +0300
commit1e1b95647f7ce6b698345e1a9ef28de7c35499c7 (patch)
tree67d98ad9ea37004f947f66cf1011d5f13e8f07d4 /configure
parentf11dee17400d9998a2681a94b809d3e5ca17348f (diff)
Changes: unify usage of mmoc and mgen in the different .pro files
RevBy: Max Waterman Details: there was quite some code duplication in the usage of mmoc and mgen in the project. this is now all simplified and unified. all unit tests still pass.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure b/configure
index 1ad574f2..898bbe85 100755
--- a/configure
+++ b/configure
@@ -608,11 +608,6 @@ else
mv -f "$M_QMAKE_CACHE.tmp" "$M_QMAKE_CACHE"
fi
-M_MMOC_EXECUTABLE="mmoc"
-if [ "$IS_ARMEL" = "yes" ]; then
- M_MMOC_EXECUTABLE="mmoc.pl"
-fi
-
MEEGOTOUCH_DEFINES_PRF="$outpath/mkspecs/features/meegotouch_defines.prf"
# and now we generate a meegotouch_defines.prf that will contain the right
@@ -621,7 +616,7 @@ cat "$relpath/mkspecs/features/meegotouch_defines.prf.in" \
| sed -e "s,@@M_UNIX_INSTALL_PREFIX@@,$M_INSTALL_PREFIX,g" \
| sed -e "s,@@M_UNIX_INSTALL_SYSCONFDIR@@,$M_INSTALL_SYSCONFDIR,g" \
| sed -e "s,@@M_UNIX_INSTALL_LIBDIR@@,$M_INSTALL_LIBDIR,g" \
-| sed -e "s,@@M_MMOC_EXECUTABLE@@,$M_MMOC_EXECUTABLE,g" > "$MEEGOTOUCH_DEFINES_PRF.tmp"
+> "$MEEGOTOUCH_DEFINES_PRF.tmp"
# replace meegotouch_defines.prf if it differs from the newly created temp file
if cmp -s "$MEEGOTOUCH_DEFINES_PRF.tmp" "$MEEGOTOUCH_DEFINES_PRF"; then