public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Patch to fix some PDF manual builds
@ 2006-06-02 23:00 Joseph S. Myers
  2006-06-02 23:39 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph S. Myers @ 2006-06-02 23:00 UTC (permalink / raw)
  To: binutils

This patch fixes the build of some PDF manuals (with "make
$manual.pdf"; plain "make pdf" runs into subdirectories without dummy
"pdf" rules).  I expect it also fixes DVI and PS manual builds, with
the same caveat about subdirectories without dummy rules.  OK to
commit?

binutils:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* doc/Makefile.am (TEXI2DVI): Define.
	* doc/Makefile.in: Regenerate.

gas:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* doc/Makefile.am (TEXI2DVI): Define.
	* doc/Makefile.in: Regenerate.
	* doc/c-arc.texi: Fix typo.

ld:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
	* Makefile.in: Regenerate.

Index: binutils/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/binutils/doc/Makefile.am,v
retrieving revision 1.13
diff -u -r1.13 Makefile.am
--- binutils/doc/Makefile.am	19 May 2006 13:10:58 -0000	1.13
+++ binutils/doc/Makefile.am	2 Jun 2006 22:06:21 -0000
@@ -35,6 +35,7 @@
 binutils_TEXI = $(srcdir)/binutils.texi
 
 AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
+TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
 
 config.texi: $(srcdir)/../../bfd/configure $(binutils_TEXI)
 	rm -f config.texi
Index: gas/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/doc/Makefile.am,v
retrieving revision 1.45
diff -u -r1.45 Makefile.am
--- gas/doc/Makefile.am	1 Jun 2006 14:54:25 -0000	1.45
+++ gas/doc/Makefile.am	2 Jun 2006 22:06:22 -0000
@@ -18,6 +18,7 @@
 info_TEXINFOS = as.texinfo 
 
 AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
+TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
 
 asconfig.texi: $(CONFIG).texi
 	rm -f asconfig.texi
Index: gas/doc/c-arc.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-arc.texi,v
retrieving revision 1.5
diff -u -r1.5 c-arc.texi
--- gas/doc/c-arc.texi	28 Feb 2005 22:03:03 -0000	1.5
+++ gas/doc/c-arc.texi	2 Jun 2006 22:06:22 -0000
@@ -49,7 +49,7 @@
 Jump-and-link (jl) instruction.  No requirement of an instruction between
 setting flags and conditional jump.  For example:
 
-@smallexample @ta
+@smallexample
   mov.f r0,r1
   beq   foo
 @end smallexample
Index: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.212
diff -u -r1.212 Makefile.am
--- ld/Makefile.am	31 May 2006 15:14:37 -0000	1.212
+++ ld/Makefile.am	2 Jun 2006 22:06:24 -0000
@@ -95,7 +95,7 @@
 man_MANS = ld.1
 
 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I $(top_srcdir)/../libiberty
-TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc
+TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I $(top_srcdir)/../libiberty
 
 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @INCINTL@ $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(datadir)/locale\""
 

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch to fix some PDF manual builds
  2006-06-02 23:00 Patch to fix some PDF manual builds Joseph S. Myers
@ 2006-06-02 23:39 ` Daniel Jacobowitz
  2006-06-03  3:04   ` Joseph S. Myers
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-06-02 23:39 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: binutils

On Fri, Jun 02, 2006 at 10:18:32PM +0000, Joseph S. Myers wrote:
> This patch fixes the build of some PDF manuals (with "make
> $manual.pdf"; plain "make pdf" runs into subdirectories without dummy
> "pdf" rules).  I expect it also fixes DVI and PS manual builds, with
> the same caveat about subdirectories without dummy rules.  OK to
> commit?

OK.  Please commit this for 2.17, too.

How many directories don't have "make pdf" available, and do you think
it's worth adding stubs?

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch to fix some PDF manual builds
  2006-06-02 23:39 ` Daniel Jacobowitz
@ 2006-06-03  3:04   ` Joseph S. Myers
  2006-06-07 15:44     ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph S. Myers @ 2006-06-03  3:04 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: binutils

On Fri, 2 Jun 2006, Daniel Jacobowitz wrote:

> On Fri, Jun 02, 2006 at 10:18:32PM +0000, Joseph S. Myers wrote:
> > This patch fixes the build of some PDF manuals (with "make
> > $manual.pdf"; plain "make pdf" runs into subdirectories without dummy
> > "pdf" rules).  I expect it also fixes DVI and PS manual builds, with
> > the same caveat about subdirectories without dummy rules.  OK to
> > commit?
> 
> OK.  Please commit this for 2.17, too.
> 
> How many directories don't have "make pdf" available, and do you think
> it's worth adding stubs?

This patch allows "make pdf" and "make ps" (both standard targets) to work 
in binutils directories other than etc and libiberty, which have Texinfo 
manuals but don't use automake and so need local pdf and ps rules (not 
dummy rules).  Toplevel pdf and ps targets (recursive) are also needed, 
with the complication that right now Makefile.def is out of sync between 
src and gcc *in both directions* (intl dependencies only in src, 
libgcc-math removal only in gcc).

bfd/doc:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* bfd.texinfo: Remove local @tex code.

bfd:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* po/Make-in (pdf, ps): New dummy targets.

binutils:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* po/Make-in (pdf, ps): New dummy targets.

gas:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* po/Make-in (pdf, ps): New dummy targets.

gprof:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* po/Make-in (pdf, ps): New dummy targets.

ld:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* po/Make-in (pdf, ps): New dummy targets.

opcodes:
2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>

	* po/Make-in (pdf, ps): New dummy targets.

Index: bfd/doc/bfd.texinfo
===================================================================
RCS file: /cvs/src/src/bfd/doc/bfd.texinfo,v
retrieving revision 1.10
diff -u -r1.10 bfd.texinfo
--- bfd/doc/bfd.texinfo	11 May 2006 16:11:28 -0000	1.10
+++ bfd/doc/bfd.texinfo	2 Jun 2006 23:25:26 -0000
@@ -4,20 +4,6 @@
 @c 2001, 2002, 2003
 @c Free Software Foundation, Inc.
 @c 
-@tex
-% NOTE LOCAL KLUGE TO AVOID TOO MUCH WHITESPACE
-\global\long\def\example{%
-\begingroup
-\let\aboveenvbreak=\par
-\let\afterenvbreak=\par
-\parskip=0pt
-\lisp}
-\global\long\def\Eexample{%
-\Elisp
-\endgroup
-\vskip -\parskip% to cancel out effect of following \par
-}
-@end tex
 @synindex fn cp
 
 @ifinfo
Index: bfd/po/Make-in
===================================================================
RCS file: /cvs/src/src/bfd/po/Make-in,v
retrieving revision 1.8
diff -u -r1.8 Make-in
--- bfd/po/Make-in	6 Apr 2006 21:49:26 -0000	1.8
+++ bfd/po/Make-in	2 Jun 2006 23:25:26 -0000
@@ -199,7 +199,7 @@
 
 cat-id-tbl.o: ../intl/libgettext.h
 
-html dvi info tags TAGS ID:
+html dvi pdf ps info tags TAGS ID:
 
 mostlyclean:
 	rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
Index: binutils/po/Make-in
===================================================================
RCS file: /cvs/src/src/binutils/po/Make-in,v
retrieving revision 1.5
diff -u -r1.5 Make-in
--- binutils/po/Make-in	6 Apr 2006 21:49:30 -0000	1.5
+++ binutils/po/Make-in	2 Jun 2006 23:25:26 -0000
@@ -186,7 +186,7 @@
 
 cat-id-tbl.o: ../intl/libgettext.h
 
-html dvi info tags TAGS ID:
+html dvi pdf ps info tags TAGS ID:
 
 mostlyclean:
 	rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
Index: gas/po/Make-in
===================================================================
RCS file: /cvs/src/src/gas/po/Make-in,v
retrieving revision 1.5
diff -u -r1.5 Make-in
--- gas/po/Make-in	6 Apr 2006 21:49:33 -0000	1.5
+++ gas/po/Make-in	2 Jun 2006 23:25:26 -0000
@@ -186,7 +186,7 @@
 
 cat-id-tbl.o: ../intl/libgettext.h
 
-html dvi info tags TAGS ID:
+html dvi pdf ps info tags TAGS ID:
 
 mostlyclean:
 	rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
Index: gprof/po/Make-in
===================================================================
RCS file: /cvs/src/src/gprof/po/Make-in,v
retrieving revision 1.7
diff -u -r1.7 Make-in
--- gprof/po/Make-in	6 Apr 2006 21:49:33 -0000	1.7
+++ gprof/po/Make-in	2 Jun 2006 23:25:27 -0000
@@ -186,7 +186,7 @@
 
 cat-id-tbl.o: ../intl/libgettext.h
 
-html dvi info tags TAGS ID:
+html dvi pdf ps info tags TAGS ID:
 
 mostlyclean:
 	rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
Index: ld/po/Make-in
===================================================================
RCS file: /cvs/src/src/ld/po/Make-in,v
retrieving revision 1.5
diff -u -r1.5 Make-in
--- ld/po/Make-in	6 Apr 2006 21:49:34 -0000	1.5
+++ ld/po/Make-in	2 Jun 2006 23:25:27 -0000
@@ -186,7 +186,7 @@
 
 cat-id-tbl.o: ../intl/libgettext.h
 
-html dvi info tags TAGS ID:
+html dvi pdf ps info tags TAGS ID:
 
 mostlyclean:
 	rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
Index: opcodes/po/Make-in
===================================================================
RCS file: /cvs/src/src/opcodes/po/Make-in,v
retrieving revision 1.5
diff -u -r1.5 Make-in
--- opcodes/po/Make-in	6 Apr 2006 21:49:35 -0000	1.5
+++ opcodes/po/Make-in	2 Jun 2006 23:25:28 -0000
@@ -186,7 +186,7 @@
 
 cat-id-tbl.o: ../intl/libgettext.h
 
-html dvi info tags TAGS ID:
+html dvi pdf ps info tags TAGS ID:
 
 mostlyclean:
 	rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch to fix some PDF manual builds
  2006-06-03  3:04   ` Joseph S. Myers
@ 2006-06-07 15:44     ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-06-07 15:44 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: binutils

On Fri, Jun 02, 2006 at 11:39:34PM +0000, Joseph S. Myers wrote:
> This patch allows "make pdf" and "make ps" (both standard targets) to work 
> in binutils directories other than etc and libiberty, which have Texinfo 
> manuals but don't use automake and so need local pdf and ps rules (not 
> dummy rules).  Toplevel pdf and ps targets (recursive) are also needed, 

This patch is fine for both HEAD and 2.17, thanks.

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-07 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 23:00 Patch to fix some PDF manual builds Joseph S. Myers
2006-06-02 23:39 ` Daniel Jacobowitz
2006-06-03  3:04   ` Joseph S. Myers
2006-06-07 15:44     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).