summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--README3
-rw-r--r--configure.ac10
3 files changed, 13 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 51c367d..6433f0c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,11 +39,13 @@ noinst_HEADERS = getgroups.h jbwrap.h parse.h proto.h rc.h rlimit.h wait.h
BUILT_SOURCES = sigmsgs.c
-EXTRA_DIST = addon.c addon.h EXAMPLES history.1 parse.y rc.1 trip.rc
+EXTRA_DIST = EXAMPLES RELDATE addon.c addon.h history.1 parse.y rc.1 trip.rc
sigmsgs.c sigmsgs.h: mksignal
./mksignal
+CONFIGURE_DEPENDENCIES = RELDATE
+
# Of course, parse.c and parse.h depend on parse.y. However, unless
# you're hacking on rc's grammar, it's not useful to have this
# dependency expressed, since the distributed parse.[ch] (generated with
diff --git a/README b/README
index 289a8d0..0899115 100644
--- a/README
+++ b/README
@@ -1,4 +1,5 @@
-This is snapshot release rc-1.5s19981028 of rc.
+This is a snapshot release of rc-1.5. The file RELDATE identifies the
+date of the snapshot.
See COPYING for copying information. All files are
diff --git a/configure.ac b/configure.ac
index b1ebe82..54bfef5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,10 +1,16 @@
dnl Get things going...
AC_INIT(rc.h)
+RELDATE=`cat $srcdir/RELDATE`
+AC_DEFINE_UNQUOTED(RELDATE, "$RELDATE")
+
dnl Automake stuff.
-AM_INIT_AUTOMAKE(rc, 1.5s19981209)
+dnl Use this one for snapshots...
+AM_INIT_AUTOMAKE(rc, 1.5s`echo $RELDATE |sed 's/-//g'`)
+dnl ...and this one for releases
+dnl AM_INIT_AUTOMAKE(rc, 1.6)
+
AM_CONFIG_HEADER(config.h)
-AC_DEFINE(RELDATE, "1998-12-09")
dnl Anybody using name transformations?
AC_ARG_PROGRAM