public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Doug Evans <dje@sebabeach.org>
To: cgen@sourceware.org
Subject: [patch] Update cgen's configury.
Date: Sun, 14 Jun 2009 18:21:00 -0000	[thread overview]
Message-ID: <200906141821.n5EILSpO008791@localhost.localdomain> (raw)

fyi,

I checked this in.
[some changes to doc/Makefile.am are for a subsequent patch to follow in a sec.]

2009-06-14  Doug Evans  <dje@sebabeach.org>

	* Makefile.am (AUTOMAKE_OPTIONS): Add 1.9
	(GUILE): Fix definition.
	* Makefile.in: Regenerate with automake 1.9.6.
	* aclocal.m4: Regenerate with aclocal 1.9.6.
	* configure.in (AC_PREREQ): Set to 2.59.
	(AM_INIT_AUTOMAKE): Change version to 1.1.
	(GENINSRC_NEVER): Define.
	* configure: Regenerate with autoconf 2.59.
	* doc/Makefile.am (info_TEXINFOS): Add cgenint.texi.
	(cgen.info,cgen.dvi): Delete.
	(cgen_TEXINFOS,cgenint_TEXINFOS): Define.
	(noinst_TEXINFOS): Add cgenint.texi.
	(DOCFILES): Add missing files.
	(MAINTAINERCLEANFILES,DISTCLEANFILES): Define.
	* doc/Makefile.in: Regenerate with automake 1.9.6.

Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/cgen/Makefile.am,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile.am
--- Makefile.am	15 Feb 2005 09:01:33 -0000	1.5
+++ Makefile.am	14 Jun 2009 18:14:28 -0000
@@ -1,10 +1,10 @@
 # Process this file with "automake --cygnus Makefile" to generate Makefile.in
 
-AUTOMAKE_OPTIONS = cygnus
+AUTOMAKE_OPTIONS = 1.9 cygnus
 
 SUBDIRS = doc
 
-GUILE = "`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi` -l guile -s"
+GUILE = "`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi`" -l $(srcdir)/guile.scm -s
 CGENFLAGS = -v
 ARCH = @arch@
 ARCHFILE = $(srcroot)/../cpu/$(ARCH).cpu
Index: configure.in
===================================================================
RCS file: /cvs/src/src/cgen/configure.in,v
retrieving revision 1.2
diff -u -p -r1.2 configure.in
--- configure.in	5 May 2006 17:18:25 -0000	1.2
+++ configure.in	14 Jun 2009 18:14:31 -0000
@@ -1,9 +1,9 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_PREREQ(2.13)
+AC_PREREQ(2.59)
 AC_INIT(read.scm)
 AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(cgen, 1.0)
+AM_INIT_AUTOMAKE(cgen, 1.1)
 
 AC_PROG_INSTALL
 AC_EXEEXT
@@ -14,4 +14,7 @@ AC_SUBST(arch)
 
 AM_MAINTAINER_MODE
 
+# See doc/Makefile.am.
+AM_CONDITIONAL(GENINSRC_NEVER, false)
+
 AC_OUTPUT([Makefile doc/Makefile])
Index: doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/cgen/doc/Makefile.am,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile.am
--- doc/Makefile.am	28 Jul 2000 04:11:52 -0000	1.1.1.1
+++ doc/Makefile.am	14 Jun 2009 18:14:32 -0000
@@ -2,16 +2,31 @@
 
 AUTOMAKE_OPTIONS = cygnus
 
-info_TEXINFOS = cgen.texi
+# List of files that go into cgen.info.
+DOCFILES = app.texi cgen.texi credits.texi glossary.texi intro.texi \
+	notes.texi opcodes.texi pmacros.texi porting.texi \
+	rtl.texi running.texi sim.texi
 
-DOCFILES = app.texi cgen.texi intro.texi notes.texi opcodes.texi \
-	pmacros.texi porting.texi \
-	rtl.texi sim.texi
+info_TEXINFOS = cgen.texi cgenint.texi
 
 # version.texi is handled by autoconf/automake
-cgen.info: $(DOCFILES) version.texi
-cgen.dvi: $(DOCFILES) version.texi
+cgen_TEXINFOS = $(DOCFILES)
 
-# This one isn't ready for prime time yet.  Not even a little bit.
+# versionint.texi is handled by autoconf/automake
+cgenint_TEXINFOS = cgenint.texi glossary.texi
 
-noinst_TEXINFOS = cgen.texi
+# These aren't ready for prime time yet.  Not even a little bit.
+
+noinst_TEXINFOS = cgen.texi cgenint.texi
+
+# Maintenance
+
+MAINTAINERCLEANFILES = cgen.info cgenint.info
+
+# Automake 1.9 will only build info files in the objdir if they are
+# mentioned in DISTCLEANFILES.  It doesn't have to be unconditional,
+# though, so we use a bogus condition.
+# NOTE: This is copied from gas.
+if GENINSRC_NEVER
+DISTCLEANFILES = cgen.info cgenint.info
+endif

                 reply	other threads:[~2009-06-14 18:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200906141821.n5EILSpO008791@localhost.localdomain \
    --to=dje@sebabeach.org \
    --cc=cgen@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).