Once the specfile is written, run the makeinstaller
program to generate the output .package
file.
Remember run this from the root of your source tree, so not in the autopackage/ directory itself.
With no parameters, makeinstaller
will use the file
named autopackage/default.apspec
, and output the
resulting package in the directory it was run from. To override this choice
(because there are perhaps several possible packages to build) specify the names on
the command line: for instance to build both "default" and "debug", try:
makeinstaller default debug
.
makeinstaller
can operate in one of several modes. In
the default mode it will output a self contained .package
file that can be run by the user to install the
software. In "split" mode it will produce two files, that end in .package.meta
and .package.payload
respectively, that can be placed on a web server and can be used for dependency
resolution. In "both" mode it will produce a standard .package
file AND the meta/payload files as well.