Commented install script.

This commit is contained in:
Jussi Pakkanen 2013-02-23 18:12:48 +02:00
parent 94d295070e
commit 3380950265
1 changed files with 4 additions and 4 deletions

View File

@ -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',