view netinstall/version.pl @ 3041:876730d84b73

[xemacs-hg @ 2005-11-02 03:26:51 by crestani] 2005-11-02 Marcus Crestani <crestani@xemacs.org> * diagnose.el: Rename `show-lrecord-stats' to `show-object-memory-usage-stats', to keep in sync with the C sources.
author crestani
date Wed, 02 Nov 2005 03:26:52 +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";
  }
}