[PATCH, various] Add "pdf" target to all relevant GCC makefiles.

Brooks Moses bmoses@stanford.edu
Tue Oct 10 16:30:00 GMT 2006


The attached patch adds all of the relevant targets to enable "make pdf" 
to work; it produces the same files (modulo extension, of course) in the 
same locations as "make dvi".  The changes are, I believe, relatively 
straightforward and simple.

I have attached two separate .diff files; the first one contains all of 
the handwritten changes, and is relatively small; the second (gzipped) 
one contains the automatically-generated top-level Makefile.in file, 
which has a substantial number of repetitive changes.

I have tested that this works with "make pdf" on i686-pc-linux-gnu and 
i686-pc-cygwin, and have additionally tested with "make bootstrap" (with 
all languages except Ada) to confirm that it hasn't broken the build on 
either platform.  I'm doing a "make -k check" test now.  If someone 
could check and confirm that the trivial change to gnattools/Makefile.in 
doesn't break the gnattools build, I'd appreciate it, since Ada won't 
build on my box.

Given that this touches lots of things, I think I've cc'ed all of the 
relevant mailing lists.  I'm not sure who all I have to get approval 
from!  :)

There are, of course, quite a lot of changelog entries; I've given them 
headers by directory to indicate which changelog they go in.

Thanks!
- Brooks


Changelog entries:
--(top level)--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.def: Added pdf target handling.
	* Makefile.tpl: Added pdf target handling.
	* Makefile.in: Regenerated.

---fixincludes--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---gcc----------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* configure.ac: Added pdf to "Make-hooks"
	* Makefile.in: Added TEXI2PDF definition, and various pdf-file
	targets and *.pdf file patterns in cleanup targets.
	* configure: Regenerated.

---gcc/cp-------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "c++.pdf" target support.

---gcc/fortran--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
	support.

---gcc/java-----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.

---gcc/objc-----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added empty "objc.pdf" target.

---gcc/objcp----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added empty "obj-c++.pdf" target.

---gcc/treelang-------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Make-lang.in: Added "treelang.pdf" target support.

---gnattools----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---libcpp-------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---libdecnumber-------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

---libiberty----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added "pdf", "libiberty.pdf" target support.
	* testsuite/Makefile.in: Added empty "pdf" target.

---libobjc------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

	* Makefile.in: Added empty "pdf" target.

----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makepdf.diff
Type: text/x-patch
Size: 15978 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20061010/11b71cc1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makepdf2.diff.gz
Type: application/x-gzip
Size: 9669 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20061010/11b71cc1/attachment-0001.bin>


More information about the Java mailing list