MKVERSION — User Commands
NAME
mkversion − print version string
SYNOPSIS
mkversion [−dtp]
mkversion [−p] progName
OPTIONS
−dInclude the path to the current directory in the version string.
−tDo not put the date in the version string.
−p progNameThe −p option must be followed by a string (giving the name of the program). The string progName will be included in the version string.
DESCRIPTION
Mkversion prints out a version string useful for inclusion in header files and program strings and easily generated by calling mkversion in a Makefile.
EXAMPLES
mkversion generates:
#define VERSION "(31 Oct 88 18:07:55)" mkversion −t generates:
#define VERSION "" mkversion −d generates:
#define VERSION "/a/newcmds/mkversion (31 Oct 88 18:08:07)" mkversion −p flea generates:
#define VERSION "flea (31 Oct 88 18:08:17)" mkversion −dp flea generates:
#define VERSION "/a/newcmds/mkversion/flea (31 Oct 88 18:09:54)"
KEYWORDS
version, Makefile, date
Sprite version 1.0 — December 30, 1988