From 954ac2eafd8b65dfebbd705440328c4970f03649 Mon Sep 17 00:00:00 2001 From: Roland Pesch Date: Tue, 15 Oct 1991 00:31:56 +0000 Subject: [PATCH] * Makefile.in: new targets ld.mm, ld.me (more roff forms of doc) --- ld/ChangeLog | 4 ++++ ld/Makefile.in | 39 +++++++++++++++++++++++++++++++++------ 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index d59dbda644e..2d4021a2fc1 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 730af8c0bab..d1da0c0ed07 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 -- 2.30.2