nmh-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] nmh docs/README.developers INSTALL ChangeLog te...


From: Peter Maydell
Subject: [Nmh-commits] nmh docs/README.developers INSTALL ChangeLog te...
Date: Tue, 12 Aug 2008 18:04:30 +0000

CVSROOT:        /sources/nmh
Module name:    nmh
Changes by:     Peter Maydell <pm215>   08/08/12 18:04:30

Modified files:
        docs           : README.developers 
        .              : INSTALL ChangeLog 
        test           : setup-test 
Added files:
        .              : autogen.sh 

Log message:
        autogen.sh (new file): add script for running the GNU autotools in the
        right order. Mention and use new script in the appropriate places.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/docs/README.developers?cvsroot=nmh&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/nmh/INSTALL?cvsroot=nmh&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/nmh/ChangeLog?cvsroot=nmh&r1=1.287&r2=1.288
http://cvs.savannah.gnu.org/viewcvs/nmh/autogen.sh?cvsroot=nmh&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/nmh/test/setup-test?cvsroot=nmh&r1=1.4&r2=1.5

Patches:
Index: docs/README.developers
===================================================================
RCS file: /sources/nmh/nmh/docs/README.developers,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- docs/README.developers      1 Jun 2008 16:50:22 -0000       1.24
+++ docs/README.developers      12 Aug 2008 18:04:29 -0000      1.25
@@ -1,7 +1,7 @@
 #
 # README.developers
 #
-# $Id: README.developers,v 1.24 2008/06/01 16:50:22 pm215 Exp $
+# $Id: README.developers,v 1.25 2008/08/12 18:04:29 pm215 Exp $
 #
 
 This file is intended to provide a few tips for anyone doing development on 
nmh.
@@ -28,12 +28,10 @@
 
 Note that the automatically generated autoconf files (such as config.h.in,
 stamp-h.in, and configure), are NOT kept in CVS.  Thus, when you check out
-a CVS tree, you need to do the following things before you can build
+a CVS tree, you need to run the autogen.sh script before you can build
 anything:
 
-       % autoheader
-       % autoconf
-       % date > stamp-h.in
+       % ./autogen.sh
 
 -------------------
 directory structure

Index: INSTALL
===================================================================
RCS file: /sources/nmh/nmh/INSTALL,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- INSTALL     13 May 2008 02:39:05 -0000      1.16
+++ INSTALL     12 Aug 2008 18:04:29 -0000      1.17
@@ -1,7 +1,7 @@
 #
 # INSTALL -- installation instructions
 #
-# $Id: INSTALL,v 1.16 2008/05/13 02:39:05 levine Exp $
+# $Id: INSTALL,v 1.17 2008/08/12 18:04:29 pm215 Exp $
 #
 
 --------------
@@ -14,6 +14,14 @@
 build instructions for your operating system.  To build nmh, you will
 need an ANSI C compiler such as gcc.
 
+0) If you have obtained nmh by checking it out of CVS, you will
+   need to run the GNU autotools to regenerate some files.
+   (If your directory already contains a file 'config.h.in'
+   then this has already been done and you do not need to do it.)
+   You can regenerate the files by running the command
+
+   ./autogen.sh
+
 1) From the top-level source directory, run the command
 
    ./configure [options]

Index: ChangeLog
===================================================================
RCS file: /sources/nmh/nmh/ChangeLog,v
retrieving revision 1.287
retrieving revision 1.288
diff -u -b -r1.287 -r1.288
--- ChangeLog   8 Aug 2008 23:45:24 -0000       1.287
+++ ChangeLog   12 Aug 2008 18:04:29 -0000      1.288
@@ -1,3 +1,13 @@
+2008-08-12  Peter Maydell  <address@hidden>
+
+       * autogen.sh (new file): add script for running the GNU
+       autotools in the right order
+       * INSTALL: mention that you need to run autogen.sh if you
+       got nmh from CVS
+       * docs/README.developers: mention autogen.sh rather than
+       suggesting running autoheader and autoconf by hand.
+       * test/setup-test: run autotools via autogen.sh
+
 2008-08-08  Eric Gillespie  <address@hidden>
 
        * sbr/discard.c, sbr/m_getfld.c, uip/scansbr.c: Add support for

Index: test/setup-test
===================================================================
RCS file: /sources/nmh/nmh/test/setup-test,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- test/setup-test     3 Aug 2008 18:45:34 -0000       1.4
+++ test/setup-test     12 Aug 2008 18:04:30 -0000      1.5
@@ -6,7 +6,7 @@
 echo $TEMPDIR > test-temp-dir
 
 cd ..
-autoheader && autoconf && date > stamp-h.in
+./autogen.sh
 ./configure --prefix=$TEMPDIR --with-locking=fcntl --enable-debug
 make clean
 make install

Index: autogen.sh
===================================================================
RCS file: autogen.sh
diff -N autogen.sh
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ autogen.sh  12 Aug 2008 18:04:29 -0000      1.1
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Regenerate config.h.in, configure, etc.
+# Necessary if building from CVS; not needed if
+# building from a distributed tarball.
+
+set -e
+autoheader
+autoconf
+date > stamp-h.in




reply via email to

[Prev in Thread] Current Thread [Next in Thread]