aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-07-03 16:35:34 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-07-03 16:35:34 +0000
commit4258bf4db5e32b1cc99599668593f3605719480b (patch)
tree1749b36c48dee7861104262960666582ed240ee4 /binutils/doc/Makefile.am
parentf47e50716b3829b823967100d29deca01f442e39 (diff)
downloadgdb-4258bf4db5e32b1cc99599668593f3605719480b.zip
gdb-4258bf4db5e32b1cc99599668593f3605719480b.tar.gz
gdb-4258bf4db5e32b1cc99599668593f3605719480b.tar.bz2
2001-07-03 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of $@.pod. (ar.1): Likewise. (dlltool.1): Likewise. (nlmconv.1): Likewise. (nm.1): Likewise. (objcopy.1): Likewise. (objdump.1): Likewise. (ranlib.1): Likewise. (readelf.1): Likewise. (size.1): Likewise. (strings.1): Likewise. (strip.1): Likewise. (windres.1): Likewise. (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod. ($(DEMANGLER_NAME).1): Also substitute cxxfilt with $(DEMANGLER_NAME). (as.1): Removed. * doc/Makefile.in: Regenerated.
Diffstat (limited to 'binutils/doc/Makefile.am')
-rw-r--r--binutils/doc/Makefile.am99
1 files changed, 44 insertions, 55 deletions
diff --git a/binutils/doc/Makefile.am b/binutils/doc/Makefile.am
index aee1079..59e8371 100644
--- a/binutils/doc/Makefile.am
+++ b/binutils/doc/Makefile.am
@@ -44,123 +44,112 @@ binutils.info: $(binutils_TEXI) config.texi
# Man page generation from texinfo
addr2line.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Daddr2line < $< > addr2line.pod
+ -($(POD2MAN) addr2line.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f addr2line.pod
ar.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dar < $< > ar.pod
+ -($(POD2MAN) ar.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f ar.pod
dlltool.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Ddlltool < $< > dlltool.pod
+ -($(POD2MAN) dlltool.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f dlltool.pod
nlmconv.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > nlmconv.pod
+ -($(POD2MAN) nlmconv.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f nlmconv.pod
nm.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dnm < $< > nm.pod
+ -($(POD2MAN) nm.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f nm.pod
objcopy.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > objcopy.pod
+ -($(POD2MAN) objcopy.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f objcopy.pod
objdump.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dobjdump < $< > objdump.pod
+ -($(POD2MAN) objdump.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f objdump.pod
ranlib.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dranlib < $< > ranlib.pod
+ -($(POD2MAN) ranlib.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f ranlib.pod
readelf.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dreadelf < $< > readelf.pod
+ -($(POD2MAN) readelf.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f readelf.pod
size.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dsize < $< > size.pod
+ -($(POD2MAN) size.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f size.pod
strings.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dstrings < $< > strings.pod
+ -($(POD2MAN) strings.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f strings.pod
strip.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dstrip < $< > strip.pod
+ -($(POD2MAN) strip.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f strip.pod
windres.1: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dwindres < $< > windres.pod
+ -($(POD2MAN) windres.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f windres.pod
cxxfilt.man: $(binutils_TEXI)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
- -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ -$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $(DEMANGLER_NAME).pod
+ -($(POD2MAN) $(DEMANGLER_NAME).pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
- rm -f $@.pod
+ rm -f $(DEMANGLER_NAME).pod
MAINTAINERCLEANFILES = config.texi
DISTCLEANFILES = config.texi
MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
- sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < cxxfilt.man \
+ sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
+ -e 's/cxxfilt/$(DEMANGLER_NAME)/' < cxxfilt.man \
> $(DEMANGLER_NAME).1
# Maintenance
# We need it for the taz target in ../../Makefile.in.
info: $(MANS)
-
-# Build the man page from the texinfo file
-# The sed command removes the no-adjust Nroff command so that
-# the man output looks standard.
-as.1: $(srcdir)/as.texinfo
- touch $@
- -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
- -($(POD2MAN) as.pod | \
- sed -e '/^.if n .na/d' > $@.T$$$$ && \
- mv -f $@.T$$$$ $@) || \
- (rm -f $@.T$$$$ && exit 1)
- rm -f as.pod