view netinstall/version.pl @ 5106:8c3671b62dad

Remove #'byte-compile-compiled-obj-to-list, bytecomp.el 2010-03-06 Aidan Kehoe <kehoea@parhasard.net> * bytecomp.el (byte-compile-compiled-obj-to-list): Remove this function, printing a compiled object to a string and then reading back a substring is senseless, just use the compiled-function slot accessor functions.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 06 Mar 2010 13:44:39 +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";
  }
}