From: Carl N. Baldwin <carl@ecbaldwin.net>
Date: Thu, 15 Jun 2006 19:26:52 +0000 (-0600)
Subject: Add version info file.
X-Git-Tag: release-0.6^0
X-Git-Url: http://git.pippins.net/%7Bnolink%7D?a=commitdiff_plain;h=b3a2ae013c24fd2038702a9682c97a961fab9fc3;p=backups%2F.git

Add version info file.
---

diff --git a/Makefile.am b/Makefile.am
index 2e96491..3112599 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,9 @@ SUBDIRS = scripts
 
 bin_PROGRAMS = lsbackups
 
+docdir = ${datadir}/${PACKAGE_NAME}/doc
+doc_DATA = version TODO
+
 lsbackups_SOURCES = main.cpp \
                     filedata.hpp \
                     filedata.cpp
diff --git a/configure.ac b/configure.ac
index d48f13c..9a25364 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,5 @@
-AC_INIT([inc-backups], 0.2)
+AC_INIT([backups], [0.6])
+
 AC_CONFIG_HEADERS([config.h])
 AC_COPYRIGHT([(c) Carl Baldwin.  All Rights Reserved. ])
 
@@ -8,7 +9,10 @@ AC_PROG_CXX()
 AC_PROG_INSTALL()
 AC_PROG_RANLIB()
 
-AC_CONFIG_FILES( [Makefile] )
-AC_CONFIG_FILES( [scripts/Makefile] )
+AC_CONFIG_FILES( [ \
+  Makefile \
+  scripts/Makefile \
+  version \
+] )
 
 AC_OUTPUT
diff --git a/version.in b/version.in
new file mode 100644
index 0000000..2956d1a
--- /dev/null
+++ b/version.in
@@ -0,0 +1 @@
+Running backup scripts version @VERSION@