summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2017-05-03 20:37:21 +0200
committerWilliam Langford <wlangfor@gmail.com>2017-05-11 09:05:56 -0400
commitcb3d5aff845c78172090e7ec3c52f0b8c8e05c78 (patch)
tree0f4be3a66b35faf1e54dfdc1bdf0af4b78167600
parent6d89e297febdbcbad4ecf201e56fc8ec99f67137 (diff)
Improved git build instructions.
-rw-r--r--README.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/README.md b/README.md
index 5d2f01a7..3bcee29b 100644
--- a/README.md
+++ b/README.md
@@ -23,19 +23,21 @@ Source tarball and built executable releases can be found on the
homepage and on the github release page, https://github.com/stedolan/jq/releases
If you're building directly from the latest git, you'll need flex,
-bison (3.0 or newer), libtool, make, and autoconf installed. To get
-regexp support you'll also need to install Oniguruma (note that jq's
-tests require regexp support to pass). To build, run:
-
- autoreconf -i # if building from git
- ./configure
+bison (3.0 or newer), libtool, make, and autoconf installed.
+To get regexp support you'll also need to install Oniguruma or clone it as a
+git submodule as per the instructions below.
+(note that jq's tests require regexp support to pass). To build, run:
+
+ git submodule update --init # if building from git to get oniguruma
+ autoreconf -fi # if building from git
+ ./configure --with-oniguruma=builtin
make -j8
make check
To build without bison or flex, add `--disable-maintainer-mode` to the
./configure invocation:
- ./configure --disable-maintainer-mode
+ ./configure --with-oniguruma=builtin --disable-maintainer-mode
(Developers must not use `--disable-maintainer-mode`, not when making
changes to the jq parser and/or lexer.)