view netinstall/version.pl @ 5496:a7da359711ce

Backed out changeset e82f5b7010fe, incompatible with extant makeinfo.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 02 May 2011 10:35:36 +0100
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";
  }
}