Don't install with just make, require make install
This commit is contained in:
parent
ce8971eb2b
commit
cded0313c2
3 changed files with 6 additions and 9 deletions
|
@ -4,4 +4,4 @@ compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
|
|
||||||
script: make
|
script: make install
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -18,10 +18,7 @@ DIR_CONFIG = BUILDDIR=$(BUILDDIR) INSTALLDIR=$(INSTALL_ROOT) BIN_PREFIX=$(BIN_PR
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
# supported make options (clean, install...)
|
# supported make options (clean, install...)
|
||||||
.PHONY: all default install clean
|
.PHONY: default install clean
|
||||||
|
|
||||||
# all calls all other options
|
|
||||||
all: default install
|
|
||||||
|
|
||||||
# default builds components
|
# default builds components
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -32,9 +32,9 @@ moxerver.cfg
|
||||||
Build and install
|
Build and install
|
||||||
=================
|
=================
|
||||||
|
|
||||||
Run `make` to build the project.
|
Run `make` to build the project and `make install` to install it.
|
||||||
This default build will produce artifacts in a directory "install.dir" with executables installed in "usr/bin" (prefix is "usr").
|
This default build will produce artifacts in a directory "install.dir" with executables installed in "usr/bin" (default prefix is "usr").
|
||||||
|
|
||||||
You can install directly into some directory with `make INSTALL_ROOT=/some/dir`.
|
You can install directly into some other directory with `make INSTALL_ROOT=/some/dir`.
|
||||||
You can change the install prefix for executables with `make BIN_PREFIX=someprefix`.
|
You can change the default install prefix for executables with `make BIN_PREFIX=someprefix`.
|
||||||
These options can also be combined into `make INSTALL_ROOT=/some/dir BIN_PREFIX=someprefix`
|
These options can also be combined into `make INSTALL_ROOT=/some/dir BIN_PREFIX=someprefix`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue