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

PBSFILE USER HELP

user_build.pl

user_build.pl is to be used with the Perl Build System (PBS).

Description

This Pbsfile shows you how to Define your own Build() sub.

Used PBS libs

none.

Top rules

  • '*.lib'

Rules

4 rules are defined:

  • lib defines a dependency on a 'a' type file, 'b' type files and 5 't' type files, builder alwas succed (for the example sake)

  • a defines no dependencies, builder always succed

  • b defines no dependencies, builder always succed

  • t defines no dependencies, builder always succed

User defined Build()

  • Define your own Build() sub.

  • Call PBS DefaultBuild to do the depending and checking part

  • Manipulate the Build sequence

        Remove all the 't' type files from the build sequence and build them
  • Call PBS do the the rest of the build step

Running the example Pbsfile

        perl pbs.pl -p user_build.pl -f -dd -be x.lib

End of PBSFILE USER HELP!