The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

TITLE

tools/dev/install_files.pl - Copy files to their correct locations

DESCRIPTION

Use a detailed MANIFEST to install a set of files. The format of the MANIFEST (currently MANIFEST and MANIFEST.generated are used) is:

    source_path <whitespace> [package]meta1,meta2,...

or you may optionally specify a different destination path:

    source_path <whitespace> [package]meta1,meta2,... <whitespace> destination

Additionally, there may be a * in front of the whole line to designate a generated file:

    source_path <whitespace> *[package]meta1,meta2,... <whitespace> destination

The square brackets around package are literal. package gives the name of the RPM that the given file will be installed for, and is only used by this script to skip files that are not members of any package.

The various meta flags recognized are:

doc

Tag this file with %doc in the RPM, and omit the leading path (because rpm will put it into a directory of its choosing)

include

Write this file to the location given by the --includedir option

lib

Write this file to the location given by the --libdir option

bin

Write this file to the location given by the --bindir option

The optional destination field provides a general way to change where a file will be written to. It will be applied before any metadata tags.

Example: if this line is in the MANIFEST.detailed file

  *[main]bin    languages/imcc/imcc     imcc

and the --bindir=/usr/parroty/bin, then the generated parrot-<VERSION>-1.<arch>.rpm file will contain the file /usr/parroty/bin/imcc.

SEE ALSO

mk_manifests.pl