This script contains information regarding how various files should be handled by the Software Build System. It naturally consists of five sections. The filelist-version script(s) are automatically sourced by prepare.sh script (which, in turn, is sourced by any installation script).
filelist-version scripts are sourced sequentially, in order defined by version, up to version provided in PackageName_VERSION variable.
For example, if there are files filelist-A, filelist-1.0.1, filelist-1.2.0, and filelist-1.3.3, and PackageName_VERSION==1.3.0, the following scripts in the following order will be sourced:
Usually, new filelist-version scripts are added when there are changes in the set of files starting some version. As all previous filelist-version are sourced, new filelist-version script may contain only definitions of variables that are changed.
For example, if initial version of the package had single executable xyz that required wrapper script, and starting version 2.0.0 a new executable xyz2 appears, the script filelist-2.0.0 may consist of a single line: