14.2 Environment variables

Some maintenance scripts and instructions in this guide rely on the following environment variables. They should be predefined in LilyDev distribution (see LilyDev); if you set up your own development environment, you can set them by appending these settings to your ‘~/.bashrc’ (or whatever defines your default environment variables for the user account for LilyPond development), then logging out and in (adapt directories to your setup):

LILYPOND_GIT=~/lilypond-git
export LILYPOND_GIT
LILYPOND_BUILD_DIR=~/lilypond-git/build
export LILYPOND_BUILD_DIR

The standard build and install procedure (with autogen.sh, configure, make, make install, make doc …) does not rely on them.

In addition, for working on the website, LILYPOND_WEB_MEDIA_GIT should be set to the repository lilypond-extra, see lilypond-extra.


LilyPond — Contributor’s Guide v2.19.5 (development-branch).