Fix installation.

pull/15/head
Jussi Pakkanen 11 years ago
parent fc24c5db8c
commit 9049c76937
  1. 6
      install_meson.py
  2. 2
      readme.txt

@ -31,12 +31,6 @@ parser.add_option('--prefix', default='/usr/local', dest='prefix',
parser.add_option('--destdir', default='', dest='destdir',
help='the destdir (default: %default)')
try:
open('parsetab.py', 'r').close()
except IOError:
print('Parsetab.py not found, run compile_meson.py first.')
sys.exit(1)
(options, args) = parser.parse_args(sys.argv)
if options.prefix[0] != '/':
print('Error, prefix must be an absolute path.')

@ -12,7 +12,7 @@ You can run Meson directly from a revision control checkout.
Installing it system-wide is simple.
Configure step: None
Compile step: ./compile_meson.py
Compile step: None
Unit test step: ./run_tests.py
Install step: [sudo] ./install_meson.py --prefix /your/prefix --destdir /destdir/path

Loading…
Cancel
Save