aboutsummaryrefslogtreecommitdiff
path: root/compile_meson.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-23 13:59:53 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-23 13:59:53 +0200
commitd30c2eba03a5345a206581d3172c146cb5e98501 (patch)
tree809e2fa12bdcaaf93b01492a4bc03e0caa4fa5fe /compile_meson.py
parenta21737cdd7e79938f80314773248f70eab470a9f (diff)
downloadmeson-d30c2eba03a5345a206581d3172c146cb5e98501.zip
meson-d30c2eba03a5345a206581d3172c146cb5e98501.tar.gz
meson-d30c2eba03a5345a206581d3172c146cb5e98501.tar.bz2
Added script to compile Meson itself.
Diffstat (limited to 'compile_meson.py')
-rwxr-xr-xcompile_meson.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/compile_meson.py b/compile_meson.py
new file mode 100755
index 0000000..79b949b
--- /dev/null
+++ b/compile_meson.py
@@ -0,0 +1,13 @@
+#!/usr/bin/python3 -tt
+
+# This file generates all files needed to run
+# Meson. It does the equivalent of "make" in
+# standard build systems.
+
+import os
+import mparser
+
+fullfile = os.path.abspath(__file__)
+fulldir = os.path.dirname(fullfile)
+
+mparser.generate_parser_files(fulldir)