[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.2 Use Cases for the GNU Build System
In this section we explore several use cases for the GNU Build System. You can replay all of these examples on the ‘amhello-1.0.tar.gz’ package distributed with Automake. If Automake is installed on your system, you should find a copy of this file in ‘prefix/share/doc/automake/amhello-1.0.tar.gz’, where prefix is the installation prefix specified during configuration (prefix defaults to ‘/usr/local’, however if Automake was installed by some GNU/Linux distribution it most likely has been set to ‘/usr’). If you do not have a copy of Automake installed, you can find a copy of this file inside the ‘doc/’ directory of the Automake package.
Some of the following use cases present features that are in fact extensions to the GNU Build System. Read: they are not specified by the GNU Coding Standards, but they are nonetheless part of the build system created by the Autotools. To keep things simple, we do not point out the difference. Our objective is to show you many of the features that the build system created by the Autotools will offer to you.
2.2.1 Basic Installation | Common installation procedure | |
2.2.2 Standard ‘Makefile’ Targets | A list of standard Makefile targets | |
2.2.3 Standard Directory Variables | A list of standard directory variables | |
2.2.4 Standard Configuration Variables | Using configuration variables | |
2.2.5 Overriding Default Configuration Setting with ‘config.site’ | Using a config.site file | |
2.2.6 Parallel Build Trees (a.k.a. VPATH Builds) | Parallel build trees | |
2.2.7 Two-Part Installation | Installing data and programs separately | |
2.2.8 Cross-Compilation | Building for other architectures | |
2.2.9 Renaming Programs at Install Time | Renaming programs at install time | |
2.2.10 Building Binary Packages Using DESTDIR | Building binary packages with DESTDIR | |
2.2.11 Preparing Distributions | Rolling out tarballs | |
2.2.12 Automatic Dependency Tracking | Automatic dependency tracking | |
2.2.13 Nested Packages | The GNU Build Systems can be nested |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 25, 2014 using texi2html 5.0.