changeset 21:e5418051878c

switch to automake/autoconf
author carl
date Sun, 19 Feb 2006 21:27:03 -0800
parents 1acd3231c3a4
children d64a9df0dc02
files configure.in src/Makefile.am src/nick2ldif.cpp src/readpst.c xml/libpst.in
diffstat 5 files changed, 12 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun Feb 19 20:19:38 2006 -0800
+++ b/configure.in	Sun Feb 19 21:27:03 2006 -0800
@@ -15,6 +15,7 @@
     info/Makefile           \
     man/Makefile            \
     src/Makefile            \
+    src/version.h           \
     xml/Makefile            \
     xml/libpst              \
     )
--- a/src/Makefile.am	Sun Feb 19 20:19:38 2006 -0800
+++ b/src/Makefile.am	Sun Feb 19 21:27:03 2006 -0800
@@ -1,8 +1,9 @@
+hfiles = $(wildcard *.h)
 bin_PROGRAMS = lspst readpst readpstlog pst2ldif
-lspst_SOURCES      = debug.c libpst.c libstrfunc.c lspst.c timeconv.c
-readpst_SOURCES    = readpst.c libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
-readpstlog_SOURCES = readpstlog.c debug.c
-pst2ldif_SOURCES   = pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
+lspst_SOURCES      = $(hfiles) debug.c libpst.c libstrfunc.c lspst.c timeconv.c
+readpst_SOURCES    = $(hfiles) readpst.c libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
+readpstlog_SOURCES = $(hfiles) readpstlog.c debug.c
+pst2ldif_SOURCES   = $(hfiles) pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
 EXTRA_DIST = dumpblocks.c getidblock.c testdebug.c
 
 # set the include path found by configure
--- a/src/nick2ldif.cpp	Sun Feb 19 20:19:38 2006 -0800
+++ b/src/nick2ldif.cpp	Sun Feb 19 21:27:03 2006 -0800
@@ -10,6 +10,7 @@
 #include <iostream>
 //#include <fstream>
 #include <unistd.h>
+#include "version.h"
 
 char *ldap_base  = NULL;
 char *ldap_org	 = NULL;
--- a/src/readpst.c	Sun Feb 19 20:19:38 2006 -0800
+++ b/src/readpst.c	Sun Feb 19 21:27:03 2006 -0800
@@ -31,6 +31,7 @@
 
 #include "libstrfunc.h" // for base64_encoding
 
+#include "version.h"
 #include "define.h"
 #include "libpst.h"
 #include "common.h"
--- a/xml/libpst.in	Sun Feb 19 20:19:38 2006 -0800
+++ b/xml/libpst.in	Sun Feb 19 21:27:03 2006 -0800
@@ -65,8 +65,8 @@
                 <varlistentry>
                     <term>-d <replaceable class="parameter">debug-file</replaceable></term>
                     <listitem><para>
-                        Specify name of debug log file. Defaults to &quot;readpst.log&quot;. The log
-                        file isn't an ascii file, it is a binary file readable by <command>readpstlog</command>.
+                        Specify name of debug log file. Defaults to "readpst.log". The log
+                        file is not an ascii file, it is a binary file readable by <command>readpstlog</command>.
                     </para></listitem>
                 </varlistentry>
                 <varlistentry>
@@ -100,7 +100,7 @@
                     <term>-r</term>
                     <listitem><para>
                         Changes the output format to Recursive. This will create folders as
-                        named in the PST file, and will put all emails in a file called &quot;mbox&quot;
+                        named in the PST file, and will put all emails in a file called "mbox"
                         inside each folder. These files are then compatible with all
                         mbox-compatible email clients.
                     </para></listitem>
@@ -209,8 +209,7 @@
         <refsect1 id='readpstlog.description.1'>
             <title>Description</title>
             <para>This manual page briefly documents the <command>readpstlog</command> command.</para>
-            <para>
-                <command>readpstlog</command>
+            <para><command>readpstlog</command>
                 is a program that reads the binary logfile generated
                 by <command>readpst</command>, and outputs it in a more desirable format (i.e. text).
             </para>