diff options
author | Roland Pesch <pesch@cygnus> | 1991-10-15 00:31:56 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1991-10-15 00:31:56 +0000 |
commit | 954ac2eafd8b65dfebbd705440328c4970f03649 (patch) | |
tree | 1961ce92598f4b71f825250fb73b1f99429da380 /ld | |
parent | 972e7b4bc49aaafe0e1b8ff96c042473ab5d58c5 (diff) | |
download | gdb-954ac2eafd8b65dfebbd705440328c4970f03649.zip gdb-954ac2eafd8b65dfebbd705440328c4970f03649.tar.gz gdb-954ac2eafd8b65dfebbd705440328c4970f03649.tar.bz2 |
* Makefile.in: new targets ld.mm, ld.me
(more roff forms of doc)
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/Makefile.in | 39 |
2 files changed, 37 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index d59dbda..2d4021a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) + + * Makefile.in: new targets ld.mm, ld.me + Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) * Makefile.in, ldtemplate: Need to use separate scripts diff --git a/ld/Makefile.in b/ld/Makefile.in index 730af8c..d1da0c0 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -32,9 +32,9 @@ DEBUG = -g TEXIDIR = $(srcdir)/../texinfo/fsf # Whether to get roff to put indexing entries on stderr -#TEXI2OPT = -# You neeed this to generate ld-index.ms -TEXI2OPT = -i +TEXI2OPT = +# You neeed this to generate ld-index.ms (or .mm or .me) +# TEXI2OPT = -i # Which roff program to use to generate index for texi2roff'd doc ROFF = groff @@ -231,10 +231,10 @@ ld.dvi: ld.texinfo ld.info: ld.texinfo makeinfo ld.texinfo +#separate targets for "ms", "me", and "mm" forms of roff doc +# (we don't use a variable because we don't trust all makes to handle +# a var in the target name right). # roff output (-ms) -# edit instances of "ms" to "me" or "mm" to suit your preferences. -# (we don't use a variable because we don't trust all makes to handle -# a var in the target name right). ld.ms: ld.texinfo sed -e '/\\input texinfo/d' \ -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \ @@ -247,6 +247,33 @@ ld-index.ms: ld.ms sed -e '/: warning:/d' | \ texi2index >ld-index.ms +# roff output (-mm) +ld.mm: ld.texinfo + sed -e '/\\input texinfo/d' \ + -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \ + ld.texinfo | \ + texi2roff $(TEXI2OPT) -mm >ld.mm + +# index for roff output +ld-index.mm: ld.mm + $(ROFF) -mm ld.mm 2>&1 1>/dev/null | \ + sed -e '/: warning:/d' | \ + texi2index >ld-index.mm + +# roff output (-me) +ld.me: ld.texinfo + sed -e '/\\input texinfo/d' \ + -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \ + ld.texinfo | \ + texi2roff $(TEXI2OPT) -me >ld.me + +# index for roff output +ld-index.me: ld.me + $(ROFF) -me ld.me 2>&1 1>/dev/null | \ + sed -e '/: warning:/d' | \ + texi2index >ld-index.me + + ###################################################################### mkscript: $(srcdir)/mkscript.c |