rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit f5a12d83d721fc506ab4cbd0369f2a45d671351b
parent 6248ca87ecf106d83280d4a7481e3feadf383f29
Author: tjg <tjg>
Date:   Tue, 22 Dec 1998 15:34:41 +0000

1998-12-11

  Tidiness: the release date now only needs to be changed in one place.

Diffstat:
MMakefile.am | 4+++-
MREADME | 3++-
Mconfigure.ac | 10++++++++--
3 files changed, 13 insertions(+), 4 deletions(-)

diff --git 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 @@ -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 @@ -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