+2009-06-19 Joseph Myers <joseph@codesourcery.com>
+
+ * Makefile.in (html, pdf): New.
+ * doc/Makefile.in (html, pdf, porting.pdf, porting.html): New.
+ * doc/porting.texi: Fix section structure.
+
2009-06-17 Michael Eager <eager@eagercon.com>
* rs6000/Makefile.in: Add xilinx support.
$(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
$(MULTICLEAN) multi-clean DO=$@
-.PHONY: info install-info clean-info
+.PHONY: info install-info clean-info html pdf
subdir_do:
@rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
else true; fi; \
done
-info dvi docs:
+info dvi html pdf docs:
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
info: porting.info
+html: porting.html
+
dvi: porting.dvi
+pdf: porting.pdf
+
ps: porting.ps
doc: info dvi
porting.dvi: $(srcdir)/porting.texi $(srcdir)/porting.texi
$(TEXI2DVI) $(srcdir)/porting.texi
+porting.pdf: $(srcdir)/porting.texi $(srcdir)/porting.texi
+ $(TEXI2DVI) --pdf $(srcdir)/porting.texi
+
# info file for online browsing
porting.info: $(srcdir)/porting.texi $(srcdir)/porting.texi
$(MAKEINFO) -I $(srcdir) -o porting.info $(srcdir)/porting.texi
+porting.html: $(srcdir)/porting.texi $(srcdir)/porting.texi
+ $(MAKEINFO) --html -I $(srcdir) -o porting.html $(srcdir)/porting.texi
+
porting.ps: porting.dvi
dvips -f porting.dvi > porting.ps
@end menu
@node Supported targets, Building libgloss, Libgloss, Libgloss
-@subsection Supported Targets
+@section Supported Targets
Currently libgloss is being used for the following targets:
@menu
mostly for Unix based systems.
@node Building libgloss, Board support, Supported targets, Libgloss
-@subsection Configuring and building libgloss.
+@section Configuring and building libgloss.
Libgloss uses an autoconf based script to configure. Autoconf scripts
are portable shell scripts that are generated from a configure.in file.
tools using libgloss's test suites.
@node Board support, , Building libgloss, Libgloss
-@subsection Adding Support for a New Board
+@section Adding Support for a New Board
This section explains how to add support for a new board to libgloss.
In order to add support for a board, you must already have developed a
@end menu
@node Overview, Options, , GCC
-@subsection Compilation passes
+@section Compilation passes
GCC by itself only compiles the C or C++ code into assembler. Typically
GCC invokes all the passes required for you. These passes are cpp, cc1,