changeset 13:80ae7e5cb562

patches from debian
author carl
date Sun, 19 Feb 2006 14:35:22 -0800
parents 3f627519a92d
children 3f2fedec798c
files Makefile pst2ldif.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Feb 18 09:56:00 2006 -0800
+++ b/Makefile	Sun Feb 19 14:35:22 2006 -0800
@@ -12,6 +12,7 @@
 INSTALL_SCRIPT  := $(INSTALL) -p    -o root -g root -m 0755
 
 VERSION = $(shell cat VERSION)
+CFLAGS += -DVERSION=\"$(VERSION)\"
 
 DOCS := AUTHORS ChangeLog CREDITS FILE-FORMAT FILE-FORMAT.html LICENSE TODO \
 	VERSION
--- a/pst2ldif.cpp	Sat Feb 18 09:56:00 2006 -0800
+++ b/pst2ldif.cpp	Sun Feb 19 14:35:22 2006 -0800
@@ -453,7 +453,7 @@
 
 
 int version() {
-	printf("pst2ldif v%s using LibPST v%s\n", VERSION, PST_VERSION);
+	printf("pst2ldif v%s\n", VERSION);
 #if BYTE_ORDER == BIG_ENDIAN
 	printf("Big Endian implementation being used.\n");
 #elif BYTE_ORDER == LITTLE_ENDIAN