view netinstall/version.pl @ 616:4f1c7a4ac1e6

[xemacs-hg @ 2001-06-11 07:47:11 by martinb] Revert to doing type-checking in DFC_* macros
author martinb
date Mon, 11 Jun 2001 07:47:20 +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";
  }
}