* Makefile.in: new targets ld.mm, ld.me

(more roff forms of doc)
This commit is contained in:
Roland Pesch 1991-10-15 00:31:56 +00:00
parent 972e7b4bc4
commit 954ac2eafd
2 changed files with 37 additions and 6 deletions

View File

@ -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

View File

@ -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