Go to the first, previous, next, last section, table of contents.


What Gets Installed

Naturally, Automake handles the details of actually installing your program once it has been built. All PROGRAMS, SCRIPTS, LIBRARIES, LISP, DATA and HEADERS are automatically installed in the appropriate places.

Automake also handles installing any specified info and man pages.

Automake generates separate install-data and install-exec targets, in case the installer is installing on multiple machines which share directory structure--these targets allow the machine-independent parts to be installed only once. The install target depends on both of these targets.

Automake also generates an uninstall target, an installdirs target, and an install-strip target.

It is possible to extend this mechanism by defining an install-exec-local or install-data-local target. If these targets exist, they will be run at `make install' time.

Variables using the standard directory prefixes `data', `info', `man', `include', `oldinclude', `pkgdata', or `pkginclude' (eg `data_DATA') are installed by `install-data'.

Variables using the standard directory prefixes `bin', `sbin', `libexec', `sysconf', `localstate', `lib', or `pkglib' (eg `bin_PROGRAMS') are installed by `install-exec'.

Any variable using a user-defined directory prefix with `exec' in the name (eg `myexecbin_PROGRAMS' is installed by `install-exec'. All other user-defined prefixes are installed by `install-data'.

Automake generates support for the `DESTDIR' variable in all install rules; see See section `Makefile Conventions' in The GNU Coding Standards.


Go to the first, previous, next, last section, table of contents.