view netinstall/version.pl @ 1638:1ecc2785dce3

[xemacs-hg @ 2003-08-21 14:08:32 by james] Define DECLARE_MODULE_API_LRECORD when not ERROR_CHECK_TYPES.
author james
date Thu, 21 Aug 2003 14:08:36 +0000
parents 3078fd1074e8
children
line wrap: on
line source

while (<STDIN>) {
  if (/^\$Revision:\s*([0-9\.]*)/) {
    print "char *version = \"$1\";\n";
    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
  }
}