aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/obscuren/qml/cpp/update-moc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/github.com/obscuren/qml/cpp/update-moc.sh')
-rw-r--r--Godeps/_workspace/src/github.com/obscuren/qml/cpp/update-moc.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/update-moc.sh b/Godeps/_workspace/src/github.com/obscuren/qml/cpp/update-moc.sh
deleted file mode 100644
index 135840f45..000000000
--- a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/update-moc.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-cd `dirname $0`
-
-subdir=`basename $PWD`
-
-export QT_SELECT=5
-
-ALL=moc_all.cpp
-
-echo "// This file is automatically generated by cpp/update-moc.sh" > $ALL
-
-for file in `grep -l Q_''OBJECT *`; do
- mocfile=`echo $file | awk -F. '{print("moc_"$1".cpp")}'`
- mochack=`sed -n 's,^ *// MOC HACK: \(.*\),\1,p' $file`
- moc $file | sed "$mochack" > $mocfile
- echo "#include \"$subdir/$mocfile\"" >> $ALL
-done