Adapt install docs to needing submodule before building #3236

This commit is contained in:
Dane Springmeyer 2016-01-14 11:00:38 -08:00
parent c82b5c50c6
commit 9c4085c8b1
2 changed files with 12 additions and 3 deletions

View file

@ -2,6 +2,13 @@
Mapnik runs on Linux, OS X, Windows, and BSD systems. Mapnik runs on Linux, OS X, Windows, and BSD systems.
First clone mapnik from github and initialize submodules
```bash
git clone https://github.com/mapnik/mapnik.git
git submodule update --init
```
To configure and build Mapnik do: To configure and build Mapnik do:
```bash ```bash
@ -35,7 +42,6 @@ NOTE: the above will not work on windows, rather see https://github.com/mapnik/m
Then to run the tests locally (without needing to install): Then to run the tests locally (without needing to install):
git submodule update --init
make test make test
Install like: Install like:

View file

@ -89,8 +89,11 @@ function make_config() {
fi fi
echo " echo "
CXX = '$CXX' CXX = '/opt/llvm/bin/clang++ -fsanitize=address -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/'
CC = '$CC' CC = '/opt/llvm/bin/clang -fsanitize=address'
CUSTOM_CXXFLAGS = '--coverage'
CUSTOM_LDFLAGS = '--coverage'
DEBUG = True
RUNTIME_LINK = 'static' RUNTIME_LINK = 'static'
INPUT_PLUGINS = 'all' INPUT_PLUGINS = 'all'
PATH = '${MASON_LINKED_REL}/bin' PATH = '${MASON_LINKED_REL}/bin'