tar xzf releases/lilypond-x.y.z
mkdir <build>
cd <build>
../lilypond-x.y.z/configure
make
as with any other gnu package. All build output goes to <build>/out.
* Changed and fixed use of different configurations, and different output
directories. Finally, you can use different configurations alongside
eachother. From make/stepmake.make:
# Use alternate configurations alongside eachother:
#
# ./configure --enable-configsuffix=debug
# make conf=debug
#
# uses config-debug.make and config-debug.h; output goes to out-debug.
#
# Use same configuration, but different output directory:
#
# make out=WWW
#
# uses config.make and config.h; output goes to out-WWW.
#