2 # Create a version.c file
3 # $OpenLDAP: pkg/ldap/build/mkversion,v 1.14.2.3 2008/02/11 23:26:37 kurt Exp $
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
6 ## Copyright 1998-2008 The OpenLDAP Foundation.
7 ## All rights reserved.
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
13 ## A copy of this license is available in the file LICENSE in the
14 ## top-level directory of the distribution or, alternatively, at
15 ## <http://www.OpenLDAP.org/license.html>.
47 if test $# != 1 ; then
48 echo 'usage: mkversion [-c] [-s] [-p package] [-v version] application'
55 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
57 * Copyright 1998-2008 The OpenLDAP Foundation.
58 * All rights reserved.
60 * Redistribution and use in source and binary forms, with or without
61 * modification, are permitted only as authorized by the OpenLDAP
64 * A copy of this license is available in the file LICENSE in the
65 * top-level directory of the distribution or, alternatively, at
66 * <http://www.OpenLDAP.org/license.html>.
69 static const char copyright[] =
70 "Copyright 1998-2008 The OpenLDAP Foundation. All rights reserved.\n"
71 "COPYING RESTRICTIONS APPLY\n";
73 $static $const char $SYMBOL[] =
74 "@(#) \$$PACKAGE: $APPLICATION $VERSION \$\n";