summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/util/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/moc/util/generate.sh')
-rwxr-xr-xsrc/tools/moc/util/generate.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/moc/util/generate.sh b/src/tools/moc/util/generate.sh
new file mode 100755
index 0000000..215b8cb
--- /dev/null
+++ b/src/tools/moc/util/generate.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+qmake
+make
+cat licenseheader.txt > ../keywords.cpp
+cat licenseheader.txt > ../ppkeywords.cpp
+./generate_keywords >> ../keywords.cpp
+./generate_keywords preprocessor >> ../ppkeywords.cpp