Table of Contents
This module provides rules for installing data files during
make install
phase. It also defines two rules for
copying files during build process (typically from source to build
directory).
This module currently works only with the autoconf
format.
The following targets are defined in datafiles
module:
Pseudo target that declares installable data files. Note that all files are installed into target directory, their relative directories are not preserved.
Tag | Description | Default |
---|---|---|
srcdir |
Directory where source files are. | $(SRCDIR) |
files |
List of files to copy. Names are relative to source directory. May be used more than once. | at least one use required |
install-to |
Directory where to install the files. | required |
Same as data-files, except that
data-files-ng is real target and not pseudo target.
This has two consequences: the target must have id
set and it can be conditional.
Same as data-files, but installed files have executable permissions on Unix.
Same as data-files-ng, but installed files have executable permissions on Unix.
Unlike data-files, this rule preserves directory structure of installed files. Available tags are same and have same meaning as data-files tags.
Copies file(s) from source directory to destination directory. Creates destionation directory if it doesn't exist.
Tag | Description |
---|---|
srcdir |
Directory where source files are. This tag is not required (unlike the other two) -- source directory is empty by default. |
files |
List of files to copy. Names are relative to source directory. |
dstdir |
Directory where to copy the files. |
Copies single file to another file.
Tag | Description |
---|---|
src | Source file. |
dst | Destination file. |
This module provides a simple rule for installing and uninstalling pkg-config template files.
This module currently works only with the autoconf
format because pkg-config files contain values such as prefix that are
set by configure.
The following targets are defined in pkgconfig
module:
Installs a .pc template file in the standard location of the pkgconfig files (i.e. LIBDIR/pkgconfig).
Tag | Description | Default |
---|---|---|
src |
Name of the pkgconfig file to install. Can contain a relative path.
E.g. | $(id).pc |