aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-07-07 21:58:52 +0000
committerIan Lance Taylor <ian@airs.com>1998-07-07 21:58:52 +0000
commit9107a66f2fa12ff54ba4ac988d4db5c2e98c2cc2 (patch)
treef745e2951b6d48eb8a1f3cc404df3c64e3db6d74
parent57ea81b957e6dade91886f243ad341d67f6d6939 (diff)
downloadgdb-9107a66f2fa12ff54ba4ac988d4db5c2e98c2cc2.zip
gdb-9107a66f2fa12ff54ba4ac988d4db5c2e98c2cc2.tar.gz
gdb-9107a66f2fa12ff54ba4ac988d4db5c2e98c2cc2.tar.bz2
* doc/Makefile.am (gasver.texi): New target.
(as.info, as.dvi): Depends upon gasver.texi. * doc/as.texinfo: Include gasver.texi. Mention version number on title page and in top node. * doc/Makefile.in: Rebuild.
-rw-r--r--gas/ChangeLog8
-rw-r--r--gas/doc/Makefile.am47
-rw-r--r--gas/doc/Makefile.in8
3 files changed, 61 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 05c678d..008123c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,11 @@
+Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
+
+ * doc/Makefile.am (gasver.texi): New target.
+ (as.info, as.dvi): Depends upon gasver.texi.
+ * doc/as.texinfo: Include gasver.texi. Mention version number on
+ title page and in top node.
+ * doc/Makefile.in: Rebuild.
+
Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
* listing.c (listing_listing): For EDICT_LIST, skip all lines up to
diff --git a/gas/doc/Makefile.am b/gas/doc/Makefile.am
new file mode 100644
index 0000000..d47f820
--- /dev/null
+++ b/gas/doc/Makefile.am
@@ -0,0 +1,47 @@
+## Process this file with automake to generate Makefile.in
+
+AUTOMAKE_OPTIONS = cygnus
+
+# What version of the manual you want; "all" includes everything
+CONFIG=all
+
+man_MANS = as.1
+
+info_TEXINFOS = as.texinfo gasp.texi
+
+asconfig.texi: $(CONFIG).texi
+ rm -f asconfig.texi
+ ln -s $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
+ || ln $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
+ || cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
+
+CPU_DOCS = \
+ c-a29k.texi \
+ c-arm.texi \
+ c-d10v.texi \
+ c-h8300.texi \
+ c-h8500.texi \
+ c-hppa.texi \
+ c-i386.texi \
+ c-i960.texi \
+ c-m68k.texi \
+ c-mips.texi \
+ c-ns32k.texi \
+ c-sh.texi \
+ c-sparc.texi \
+ c-vax.texi \
+ c-v850.texi \
+ c-z8k.texi
+
+gasver.texi: Makefile
+ rm -f $@
+ echo '@set VERSION $(VERSION)' > $@
+
+as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
+as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
+
+# This one isn't ready for prime time yet. Not even a little bit.
+
+noinst_TEXINFOS = internals.texi
+
+DISTCLEANFILES = asconfig.texi
diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in
index cb8d76a..124922d 100644
--- a/gas/doc/Makefile.in
+++ b/gas/doc/Makefile.in
@@ -401,8 +401,12 @@ asconfig.texi: $(CONFIG).texi
|| ln $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
|| cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
-as.info: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS)
-as.dvi: $(srcdir)/as.texinfo asconfig.texi $(CPU_DOCS)
+gasver.texi: Makefile
+ rm -f $@
+ echo '@set VERSION $(VERSION)' > $@
+
+as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
+as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.