|parrotcode: Copy files to their correct locations|
|Contents | Tools|
tools/dev/install_files.pl - Copy files to their correct locations
% perl tools/dev/install_files.pl [options]
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:
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.generated file
and the --bindir=/usr/parroty/bin, then the generated parrot-<VERSION>-1.<arch>.rpm file will contain the file /usr/parroty/bin/snork-compile.