2 rem Copyright 1998-2003 The OpenLDAP Foundation
3 rem COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
4 rem of this package for details.
6 rem Create a version.c file from build/version.h
9 rem input, output, app, static
13 (echo #include "portable.h") >> %2
15 (echo %4 const char __Version[] =) >> %2
16 (echo "@(#) $" OPENLDAP_PACKAGE ": %3 " OPENLDAP_VERSION) >> %2
17 (echo " (" __DATE__ " " __TIME__ ") $\n") >> %2
18 (echo "\t%USERNAME%@%COMPUTERNAME% %CD:\=/%\n";) >> %2