summaryrefslogtreecommitdiffstats
path: root/gdb/Makefile.dist
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-05-20 19:19:41 +0000
committerRoland Pesch <pesch@cygnus>1991-05-20 19:19:41 +0000
commitbce4bf525feda14fd2eb6ee84590e032465d6976 (patch)
tree339135f543e7829c7c742f57dd7993a32aa8764f /gdb/Makefile.dist
parenta02da681dba5bc855a8b3ab6aa58d737712e09c5 (diff)
downloadppe42-binutils-bce4bf525feda14fd2eb6ee84590e032465d6976.tar.gz
ppe42-binutils-bce4bf525feda14fd2eb6ee84590e032465d6976.zip
* Makefile.dist, doc/gdb.texinfo: respectively create, and use,
the new target "rdl-apps.texinfo" which captures the Makefile variable that records where to find the Readline libraries.
Diffstat (limited to 'gdb/Makefile.dist')
-rwxr-xr-xgdb/Makefile.dist10
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/Makefile.dist b/gdb/Makefile.dist
index 7d79caf285..7dbd84bbe7 100755
--- a/gdb/Makefile.dist
+++ b/gdb/Makefile.dist
@@ -432,7 +432,7 @@ clean:
rm -f init.c init.o version.c
rm -f gdb core gdb.tar gdb.tar.Z make.log
rm -f gdb[0-9]
- rm -f gdb.dvi gdb-all*
+ rm -f gdb.dvi rdl-apps.texinfo gdb-all*
distclean: clean expread.tab.c TAGS
rm -f tm.h xm.h config.status
@@ -444,11 +444,15 @@ realclean: clean
rm -f tm.h xm.h config.status
rm -f Makefile
+rdl-apps.texinfo: ${READLINE_DIR}/inc-readline.texinfo \
+ ${READLINE_DIR}/inc-history.texinfo
+ echo "@include ${READLINE_DIR}/inc-readline.texinfo" >rdl-apps.texinfo
+ echo "@include ${READLINE_DIR}/inc-history.texinfo" >>rdl-apps.texinfo
+
gdb-all.texinfo: ${srcdir}/doc/gdb.texinfo
${M4} $(srcdir)/doc/pretex.m4 $(srcdir)/doc/none.m4 $(srcdir)/doc/all.m4 $(srcdir)/doc/gdb.texinfo >gdb-all.texinfo
-gdb.dvi : gdb-all.texinfo ${READLINE_DIR}/inc-readline.texinfo \
- ${READLINE_DIR}/inc-history.texinfo
+gdb.dvi : gdb-all.texinfo rdl-apps.texinfo
tex gdb-all.texinfo
texindex gdb-all.??
tex gdb-all.texinfo
OpenPOWER on IntegriCloud