diff options
author | K. Richard Pixley <rich@cygnus> | 1991-11-14 08:54:39 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-11-14 08:54:39 +0000 |
commit | e92ee46965422f9014f97d4c22fd5adabbb38316 (patch) | |
tree | bf999087e03940c1ba16515816f9b8228239230c /gdb/doc | |
parent | 58f81e16308f03a346e3e9719c2699a938d595cd (diff) | |
download | gdb-e92ee46965422f9014f97d4c22fd5adabbb38316.zip gdb-e92ee46965422f9014f97d4c22fd5adabbb38316.tar.gz gdb-e92ee46965422f9014f97d4c22fd5adabbb38316.tar.bz2 |
added all-info and install-info targets
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/Makefile.in | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 755109c..79831a6 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -33,23 +33,27 @@ gdbdir = .. M4=gm4 # where to find texinfo; GDB dist should include a recent one -TEXIDIR=${gdbdir}/../texinfo/fsf +TEXIDIR=$(srcdir)/${gdbdir}/../texinfo/fsf # where to find makeinfo, preferably one designed for texinfo-2 MAKEINFO=makeinfo # Where is the source dir for the READLINE library? Traditionally in .. or . # (For the binary library built from it, we use ${READLINE_DIR}${subdir}.) -READLINE_DIR = ${gdbdir}/../readline +READLINE_DIR = $(srcdir)/${gdbdir}/../readline # Main GDB manual's source files SFILES_DOCDIR = \ - gdb.texinfo pretex.m4 none.m4 all.m4 gdbinv-m.m4 gdbinv-s.m4 gdbVN.m4 + $(srcdir)/gdb.texinfo $(srcdir)/pretex.m4 $(srcdir)/none.m4 \ + $(srcdir)/all.m4 $(srcdir)/gdbinv-m.m4 $(srcdir)/gdbinv-s.m4 \ + gdbVN.m4 -all: gdb.info gdbint.info +all install: + +all-info: gdb.info gdbint.info #all: gdb.info gdb.dvi refcard.dvi gdb-internals gdbint.dvi -install: force +install-info: all-info for i in *.info* ; do \ echo Installing $$i... ; \ (cp $$i $(idestdir)/info/$$i.n \ @@ -84,14 +88,14 @@ rdl-apps.texi: ${READLINE_DIR}/inc-readline.texinfo \ # File to record current GDB version number (copied from main dir Makefile.in) gdbVN.m4 : ${gdbdir}/Makefile.in - ( VER=`sed <${gdbdir}/Makefile.in -n 's/VERSION = //p'` ;\ + ( VER=`sed <$(srcdir)/${gdbdir}/Makefile.in -n 's/VERSION = //p'` ;\ echo "_define__(<_GDB_VN__>,$$VER)" > gdbVN.m4 ) # GDB MANUAL: texinfo source, created by preprocessing w/m4 # Be sure to not create a bad gdb-all.texi if ${M4} is missing or aborts... gdb-all.texi: ${SFILES_DOCDIR} rm -f foobus.texinfo - ${M4} pretex.m4 none.m4 all.m4 gdb.texinfo >foobus.texinfo + (cd $(srcdir) ; ${M4} pretex.m4 none.m4 all.m4 gdb.texinfo) >foobus.texinfo rm -f gdb-all.texi mv foobus.texinfo gdb-all.texi @@ -108,7 +112,7 @@ gdb.dvi : gdb-all.texi rdl-apps.texi # cope with all the markup. In the meantime, we distribute the info # files gdb.info: gdb-all.texi - $(MAKEINFO) -o gdb.info $(srcdir)/gdb-all.texi + $(MAKEINFO) -o gdb.info gdb-all.texi # GDB INTERNALS MANUAL: TeX dvi file gdbint.dvi : gdbint.texinfo |