view netinstall/version.pl @ 1522:84bef38b39b6

[xemacs-hg @ 2003-06-11 21:21:13 by james] Fix module building with FreeBSD make while avoiding the previous solution, which broke module building with Solaris make.
author james
date Wed, 11 Jun 2003 21:21:15 +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";
  }
}