view netinstall/version.pl @ 1727:7c80b06e433f

[xemacs-hg @ 2003-09-30 16:46:15 by james] Don't let make distclean remove xemacs.def.in.in.
author james
date Tue, 30 Sep 2003 16:46: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";
  }
}