view netinstall/version.pl @ 518:e6e7cbdea419

[xemacs-hg @ 2001-05-08 05:23:51 by martinb] s/bsd386.h: Use NOT_C_CODE instead of emacs to protect Makefiles
author martinb
date Tue, 08 May 2001 05:23:54 +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";
  }
}