Commented install script.

pull/15/head
Jussi Pakkanen 12 years ago
parent 94d295070e
commit 3380950265
  1. 8
      install_meson.py

@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # 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 import os, sys, glob, shutil, gzip
from optparse import OptionParser from optparse import OptionParser
from meson import version from meson import version
@ -22,10 +26,6 @@ usage_info = '%prog [--prefix PREFIX] [--destdir DESTDIR]'
parser = OptionParser(usage=usage_info) 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', parser.add_option('--prefix', default='/usr/local', dest='prefix',
help='the installation prefix (default: %default)') help='the installation prefix (default: %default)')
parser.add_option('--destdir', default='', dest='destdir', parser.add_option('--destdir', default='', dest='destdir',

Loading…
Cancel
Save