Install directions.

pull/15/head
Jussi Pakkanen 12 years ago
parent 54cde351ef
commit 7148787d22
  1. 5
      install_meson.py
  2. 13
      readme.txt

@ -42,7 +42,10 @@ if options.prefix[0] != '/':
print('Error, prefix must be an absolute path.') print('Error, prefix must be an absolute path.')
sys.exit(1) sys.exit(1)
install_root = os.path.join(options.destdir, options.prefix[1:]) if options.destdir == '':
install_root = options.prefix
else:
install_root = os.path.join(options.destdir, options.prefix[1:])
script_dir = os.path.join(install_root, 'share/meson-' + version) script_dir = os.path.join(install_root, 'share/meson-' + version)
bin_dir = os.path.join(install_root, 'bin') bin_dir = os.path.join(install_root, 'bin')

@ -4,6 +4,18 @@ system.
Dependencies: Python3 and Python-Ply Dependencies: Python3 and Python-Ply
Installing from source
You can run Meson directly from a revision control checkout.
Installing it system-wide is simple.
Configure step: None
Compile step: ./compile_meson.py
Install step: [sudo] ./install_meson.py --prefix /your/prefix --destdir /destdir/path
The default value of prefix is /usr/local. The default value of destdir
is empty.
Running: Running:
Meson requires that you have a source directory and a build directory Meson requires that you have a source directory and a build directory
@ -19,5 +31,6 @@ can do things like this:
cd source_root; mkdir build; cd build; meson.py .. cd source_root; mkdir build; cd build; meson.py ..
cd source_root; mkdir build; meson.py build cd source_root; mkdir build; meson.py build
For questions contact the mailing list at For questions contact the mailing list at
https://lists.sourceforge.net/lists/listinfo/meson-devel https://lists.sourceforge.net/lists/listinfo/meson-devel

Loading…
Cancel
Save