File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 22#
33# PostgreSQL documentation makefile
44#
5- # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.143 2010/05/13 11:49:47 petere Exp $
5+ # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.144 2010/06/12 09:55:12 petere Exp $
66#
77# ----------------------------------------------------------------------------
88
@@ -104,6 +104,10 @@ html-stamp: postgres.sgml $(ALLSGML) stylesheet.dsl
104104 cp $(srcdir ) /stylesheet.css html/
105105 touch $@
106106
107+ # single-page HTML
108+ postgres.html : postgres.sgml $(ALLSGML ) stylesheet.dsl
109+ $(JADE.html.call ) -V nochunks -V rootchunk -V ' (define %root-filename% #f)' -V ' (define use-output-dir #f)' -i include-index $<
110+
107111HTML.index : postgres.sgml $(ALMOSTALLSGML ) stylesheet.dsl
108112 @$(MKDIR_P ) html
109113 $(JADE.html.call ) -V html-index $<
@@ -351,6 +355,8 @@ clean:
351355# text --- these are shipped, but not in this directory
352356 rm -f INSTALL HISTORY regress_README
353357 rm -f INSTALL.html HISTORY.html regress_README.html
358+ # other HTML
359+ rm -f postgres.html
354360# print
355361 rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.fot
356362# index
Original file line number Diff line number Diff line change 1- <!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.84 2010/05/31 22:42:59 momjian Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.85 2010/06/12 09:55:12 petere Exp $ -->
22
33<appendix id="docguide">
44 <title>Documentation</title>
@@ -564,6 +564,13 @@ checking for osx... osx
564564 proof-read the output, use <literal>draft</>:
565565<screen>
566566<prompt>doc/src/sgml$ </prompt><userinput>gmake draft</userinput>
567+ </screen>
568+ </para>
569+
570+ <para>
571+ To build the documentation as a single HTML page, use:
572+ <screen>
573+ <prompt>doc/src/sgml$ </prompt><userinput>gmake postgres.html</userinput>
567574</screen>
568575 </para>
569576 </sect2>
You can’t perform that action at this time.
0 commit comments