]> git.sur5r.net Git - openldap/commitdiff
Rename version.h to ol_version.h
authorHoward Chu <hyc@openldap.org>
Tue, 18 Mar 2003 22:53:15 +0000 (22:53 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 18 Mar 2003 22:53:15 +0000 (22:53 +0000)
include/Makefile.in
include/ol_version.h [new file with mode: 0644]
include/version.h [deleted file]

index cc9f6254f3708f560b1847113b12ec20a31a9ad6..1a8fd9d35f8a5a11fcf008190f3c614f4479fa27 100644 (file)
@@ -4,7 +4,7 @@
 ##
 ## include Makefile.in for OpenLDAP
 
-all-local: ldap_config.h version0.h FORCE
+all-local: ldap_config.h ol_version0.h FORCE
 
 install-local: FORCE
        -$(MKDIR) $(DESTDIR)$(includedir)
@@ -61,7 +61,7 @@ ldap_config.h: $(LDAP_CONFIG) Makefile
                         $(LDAP_CONFIG) >> $@; \
        $(CHMOD) 444 $@
 
-version0.h: $(top_srcdir)/build/version.h
+ol_version0.h: $(top_srcdir)/build/version.h
        $(CPP) -D_OLV_PKG=\"$(PACKAGE)\" -D_OLV_VER=\"$(VERSION)\" \
                -D_OLV_WHO=\"$$USER@`uname -n`\" $? > $@
 
diff --git a/include/ol_version.h b/include/ol_version.h
new file mode 100644 (file)
index 0000000..c0535b8
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+ * Copyright 1998-2003 The OpenLDAP Foundation
+ * COPYING RESTRICTIONS APPLY.  See COPYRIGHT file in top level directory
+ * of this package for details.
+ */
+
+#define _OLV_DATE __DATE__
+#define _OLV_TIME __TIME__
+#ifndef _OLV_STATIC
+#define        _OLV_STATIC     static
+#endif
+#include "ol_version0.h"
diff --git a/include/version.h b/include/version.h
deleted file mode 100644 (file)
index 3999433..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation
- * COPYING RESTRICTIONS APPLY.  See COPYRIGHT file in top level directory
- * of this package for details.
- */
-
-#define _OLV_DATE __DATE__
-#define _OLV_TIME __TIME__
-#ifndef _OLV_STATIC
-#define        _OLV_STATIC     static
-#endif
-#include "version0.h"