aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-11-14 00:15:47 +0000
committerRoland Pesch <pesch@cygnus>1991-11-14 00:15:47 +0000
commit9c7810d6b28df59ddf24e116a74659f70cee7ab9 (patch)
tree01662ffa6887092e9c62641ea5f3966d1c3ffad7 /ld/Makefile.in
parentde53632ceb540ecdb6f92dab0fae6b29d83b6025 (diff)
downloadgdb-9c7810d6b28df59ddf24e116a74659f70cee7ab9.zip
gdb-9c7810d6b28df59ddf24e116a74659f70cee7ab9.tar.gz
gdb-9c7810d6b28df59ddf24e116a74659f70cee7ab9.tar.bz2
(1) better filtering of roff-formattable doc targets
(2) better (I think) conformance to local practice re $(srcdir) and makeinfo -o
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in28
1 files changed, 16 insertions, 12 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 346f2ad..fa6d435 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -248,23 +248,23 @@ ld3: ld2
######################################################################
# DOCUMENTATION TARGETS
# TeX output
-ld.dvi: ld.texinfo
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex ld.texinfo
+ld.dvi: $(srcdir)/ld.texinfo
+ TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ld.texinfo
texindex ld.??
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex ld.texinfo
+ TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ld.texinfo
# info file for online browsing
-ld.info: ld.texinfo
- makeinfo ld.texinfo
+ld.info: $(srcdir)/ld.texinfo
+ makeinfo -o ld.info $(srcdir)/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)
-ld.ms: ld.texinfo
+ld.ms: $(srcdir)/ld.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- ld.texinfo | \
+ $(srcdir)/ld.texinfo | \
texi2roff $(TEXI2OPT) -ms >ld.ms
# index for roff output
@@ -274,11 +274,15 @@ ld-index.ms: ld.ms
texi2index >ld-index.ms
# roff output (-mm)
-ld.mm: ld.texinfo
+ld.mm: $(srcdir)/ld.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- ld.texinfo | \
- texi2roff $(TEXI2OPT) -mm >ld.mm
+ -e 's/{.*,,/{/' \
+ -e '/@noindent/d' \
+ $(srcdir)/ld.texinfo | \
+ texi2roff $(TEXI2OPT) -mm | \
+ sed -e 's/---/\\(em/g' \
+ >ld.mm
# index for roff output
ld-index.mm: ld.mm
@@ -287,10 +291,10 @@ ld-index.mm: ld.mm
texi2index >ld-index.mm
# roff output (-me)
-ld.me: ld.texinfo
+ld.me: $(srcdir)/ld.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- ld.texinfo | \
+ $(srcdir)/ld.texinfo | \
texi2roff $(TEXI2OPT) -me >ld.me
# index for roff output