Commented install script.
This commit is contained in:
parent
94d295070e
commit
3380950265
|
@ -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…
Reference in New Issue