release

Name

release  --  add software release information

Synopsis

release {string} [build=buildnumber] [part=partnumber]

Description

release adds release information in variables in the makefile. It also adds creation of /usr/share/axis-release/variables, containing the information in shell variables, to the files target.

The variables added to the makefile are VERSION_STRING (containing string), BUILD (containing buildnumber) and PART (containing partnumber).

The variables added to /usr/share/axis-release/variables are RELEASE (containing string), BUILD (containing buildnumber), BUILDTIME (containing the system time of the build host, when executing the commands of the files target) and PART (containing partnumber).

Use a version number for the release as string and increase buildnumber for every release to keep track of different releases with the same string. part can be used for keeping track of the partnumber of the release when using the release in production.

Options

build=buildnumber

The build number of the release. Default is an empty string.

part=partnumber

The part number of the release. Default is an empty string.

Example

Add release information to release 1.00alpha1, build 1, of the product:

    release "1.00 alpha1" build=1
    

See Also

install_target(3)