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 2
2
#
3
3
# PostgreSQL documentation makefile
4
4
#
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 $
6
6
#
7
7
# ----------------------------------------------------------------------------
8
8
@@ -104,6 +104,10 @@ html-stamp: postgres.sgml $(ALLSGML) stylesheet.dsl
104
104
cp $(srcdir ) /stylesheet.css html/
105
105
touch $@
106
106
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
+
107
111
HTML.index : postgres.sgml $(ALMOSTALLSGML ) stylesheet.dsl
108
112
@$(MKDIR_P ) html
109
113
$(JADE.html.call ) -V html-index $<
@@ -351,6 +355,8 @@ clean:
351
355
# text --- these are shipped, but not in this directory
352
356
rm -f INSTALL HISTORY regress_README
353
357
rm -f INSTALL.html HISTORY.html regress_README.html
358
+ # other HTML
359
+ rm -f postgres.html
354
360
# print
355
361
rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.fot
356
362
# 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 $ -->
2
2
3
3
<appendix id="docguide">
4
4
<title>Documentation</title>
@@ -564,6 +564,13 @@ checking for osx... osx
564
564
proof-read the output, use <literal>draft</>:
565
565
<screen>
566
566
<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>
567
574
</screen>
568
575
</para>
569
576
</sect2>
You can’t perform that action at this time.
0 commit comments