diff options
author | Nick Clifton <nickc@redhat.com> | 2001-06-19 11:57:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-06-19 11:57:29 +0000 |
commit | c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c (patch) | |
tree | 91b942fd35d48e36535b99d03341910a386a33dd /ld/Makefile.am | |
parent | 1107dce2cdc0b2601ada908a2e2adc25d0dab4b2 (diff) | |
download | gdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.zip gdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.tar.gz gdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.tar.bz2 |
Remove auot generated man pages
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index 49b2375..27c5963 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -934,13 +934,14 @@ ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi # Build the man page from the texinfo file # The sed command removes the no-adjust Nroff command so that # the man output looks standard. -$(srcdir)/ld.1: $(srcdir)/ld.texinfo - touch $(srcdir)/ld.1 +ld.1: $(srcdir)/ld.texinfo + touch $@ -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod -($(POD2MAN) ld.pod | \ - sed -e '/^.if n .na/d' > $(srcdir)/ld.1.T$$$$ && \ - mv -f $(srcdir)/ld.1.T$$$$ $(srcdir)/ld.1) || \ - (rm -f $(srcdir)/ld.1.T$$$$ && exit 1) + sed -e '/^.if n .na/d' > $@.T$$$$ && \ + mv -f $@.T$$$$ $@) || \ + (rm -f $@.T$$$$ && exit 1) + rm -f ld.pod MAINTAINERCLEANFILES = ldver.texi @@ -979,8 +980,8 @@ install-data-local: # Stuff that should be included in a distribution. The diststuff # target is run by the taz target in ../Makefile.in. -LDDISTSTUFF = ldgram.c ldgram.h ldlex.c -diststuff: $(LDDISTSTUFF) info +EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS) +diststuff: info $(EXTRA_DIST) DISTCLEANFILES = tdirs site.exp site.bak stringify.sed distclean-local: |