view netinstall/version.pl @ 4457:2fddd822ce87

#define _CRT_NONSTDC_NO_DEPRECATE on Win32 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> * config.h.in (_CRT_NONSTDC_NO_DEPRECATE): Define this, to avoid warnings about using standard POSIX and C9X functions on Win32; fixes part of Matthew Persico's problems of 9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com .
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 13 May 2008 20:11:51 +0200
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";
  }
}