Skip to content

Commit

Permalink
doc: Mention setting build flag vars in local.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Apr 26, 2024
1 parent 023ea3e commit 58f9325
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,21 @@ The basic way to build and install beep is
configuration options last over different make invocations, do
generate a `local.mk` file containing the appropriate definitions:

The buildsystem will use whatever value `CC` is as a compiler, and use
a few tools like `PANDOC` for building html from markdown. You can set
these to your desired values, including `PANDOC=false` to disable
building and installing html files.

The installation location will be written into some files during
`make`, and will then be used during `make install`. The default
installation location is `prefix=/usr/local`, with `bindir`, `docdir`,
`htmldir`, `mandir`, etc. being used for more specialized installation
directories. For installing into a chroot environment, the `install`
target(s) support `DESTDIR=/path/to/chroot`.
* The buildsystem will use whatever value `CC` is as a compiler, and
use a few tools like `PANDOC` for building html from markdown. You
can set these to your desired values, including `PANDOC=false` to
disable building and installing html files.

* The installation location will be written into some files during
`make`, and will then be used during `make install`. The default
installation location is `prefix=/usr/local`, with `bindir`,
`docdir`, `htmldir`, `mandir`, etc. being used for more
specialized installation directories. For installing into a
chroot environment, the `install` target(s) support
`DESTDIR=/path/to/chroot`.

* For changing compilation and linking, define `CPPFLAGS`, `CFLAGS`,
`LDADD`, and `LDFLAGS`.

You can override any of these variables from the `make` command line
like e.g.
Expand Down

0 comments on commit 58f9325

Please sign in to comment.