aboutsummaryrefslogtreecommitdiff
path: root/install_meson.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-23 18:12:48 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-23 18:12:48 +0200
commit3380950265b47bd08463eba60bbe27b2c00ba59d (patch)
tree85c18447fe59c027a95975c3bee061bdb21bcaac /install_meson.py
parent94d295070e530e1d0135acfbbfc07830aa6fdf15 (diff)
downloadmeson-3380950265b47bd08463eba60bbe27b2c00ba59d.zip
meson-3380950265b47bd08463eba60bbe27b2c00ba59d.tar.gz
meson-3380950265b47bd08463eba60bbe27b2c00ba59d.tar.bz2
Commented install script.
Diffstat (limited to 'install_meson.py')
-rwxr-xr-xinstall_meson.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/install_meson.py b/install_meson.py
index 3337835..6441f81 100755
--- a/install_meson.py
+++ b/install_meson.py
@@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# This script installs Meson. We can't use Meson to install itself
+# because of the bootstrap problem. We can't use any other build system
+# either becaust that would be just silly.
+
import os, sys, glob, shutil, gzip
from optparse import OptionParser
from meson import version
@@ -22,10 +26,6 @@ usage_info = '%prog [--prefix PREFIX] [--destdir DESTDIR]'
parser = OptionParser(usage=usage_info)
-build_types = ['plain', 'debug', 'optimized']
-buildtype_help = 'build type, one of: %s' % ', '.join(build_types)
-buildtype_help += ' (default: %default)'
-
parser.add_option('--prefix', default='/usr/local', dest='prefix',
help='the installation prefix (default: %default)')
parser.add_option('--destdir', default='', dest='destdir',