view netinstall/version.pl @ 527:7b35ad872326

[xemacs-hg @ 2001-05-10 08:09:13 by yoshiki] Malcolm Purvis's patch "[PATCH] Ximian an unsupported version of GTK?", <m166frq0wn.fsf@co3018576-a.rivrw1.nsw.optushome.com.au> * configure.in: Check gtk version validity only when gtk-config exists.
author yoshiki
date Thu, 10 May 2001 08:09:23 +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";
  }
}