summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-15 10:15:58 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-15 10:17:07 +0100
commit480bb10243f45d5ed8c956336000c2443565c251 (patch)
tree3850d74a402fb35a85cf5017faafa535d057786c /INSTALL
parent213301df35358d7baeb46daee0e59d4fa9a4fb12 (diff)
downloadefl-480bb10243f45d5ed8c956336000c2443565c251.tar.gz
add INSTALL file back as permanent instructions on meson building
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL59
1 files changed, 59 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000000..2eac4a6af4
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,59 @@
+** COMPILING and INSTALLING **
+------------------------------
+
+Meson is the build system used for this project. For more information please
+see:
+
+ http://mesonbuild.com
+
+----
+
+Normal compilation in /usr/local:
+
+ meson . build
+ ninja -C build
+ sudo ninja -C build install
+
+For meson build generic options:
+
+ meson --help
+
+For a list of project specific options supported:
+
+ cat meson_options.txt
+
+To set 1 or more project specific options:
+
+ meson --prefix=/path/to -Doption=value [-Dother=value2] [...] . build
+
+To display current configuration:
+
+ meson configure build
+
+The above will only work after at least the following is done:
+
+ meson . build
+
+** QUICK AND DIRTY HELP **
+--------------------------
+
+How clean out the build and config and start fresh:
+
+ rm -rf build
+
+How to make a dist tarball and check its build:
+(must do it from git tree clone and commit all changes to git first)
+
+ ninja -C build dist
+
+How to change prefix:
+
+ meson --prefix=/path/to/prefix . build
+
+How to install in a specific destination directory for packaging:
+
+ DESTDIR=/path/to/destdir ninja -C build install
+
+How to build with verbose output (full commands run):
+
+ ninja -C build -v