annotate src/serd-0.18.2/INSTALL @ 169:223a55898ab9 tip default

Add null config files
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 02 Mar 2020 14:03:47 +0000
parents 545efbb81310
children
rev   line source
cannam@85 1 Installation Instructions
cannam@85 2 =========================
cannam@85 3
cannam@85 4 Basic Installation
cannam@85 5 ------------------
cannam@85 6
cannam@85 7 Building this software requires only Python. To install with default options:
cannam@85 8
cannam@85 9 ./waf configure
cannam@85 10 ./waf
cannam@85 11 ./waf install
cannam@85 12
cannam@85 13 You may need to become root for the install stage, for example:
cannam@85 14
cannam@85 15 sudo ./waf install
cannam@85 16
cannam@85 17 Configuration Options
cannam@85 18 ---------------------
cannam@85 19
cannam@85 20 All supported options can be viewed using the command:
cannam@85 21
cannam@85 22 ./waf --help
cannam@85 23
cannam@85 24 Most options only need to be passed during the configure stage, for example:
cannam@85 25
cannam@85 26 ./waf configure --prefix=/usr
cannam@85 27 ./waf
cannam@85 28 ./waf install
cannam@85 29
cannam@85 30 Compiler Configuration
cannam@85 31 ----------------------
cannam@85 32
cannam@85 33 Several standard environment variables can be used to control how compilers are
cannam@85 34 invoked:
cannam@85 35
cannam@85 36 * CC: Path to C compiler
cannam@85 37 * CFLAGS: C compiler options
cannam@85 38 * CXX: Path to C++ compiler
cannam@85 39 * CXXFLAGS: C++ compiler options
cannam@85 40 * CPPFLAGS: C preprocessor options
cannam@85 41 * LINKFLAGS: Linker options
cannam@85 42
cannam@85 43 Installation Directories
cannam@85 44 ------------------------
cannam@85 45
cannam@85 46 The --prefix option (or the PREFIX environment variable) can be used to change
cannam@85 47 the prefix which all files are installed under. There are also several options
cannam@85 48 allowing for more fine-tuned control, see the --help output for details.
cannam@85 49
cannam@85 50 Packaging
cannam@85 51 ---------
cannam@85 52
cannam@85 53 Everything can be installed to a specific root directory by passing a --destdir
cannam@85 54 option to the install stage (or setting the DESTDIR environment variable),
cannam@85 55 which adds a prefix to all install paths. For example:
cannam@85 56
cannam@85 57 ./waf configure --prefix=/usr
cannam@85 58 ./waf
cannam@85 59 ./waf install --destdir=/tmp/package