Commit 99fdb4a9 authored by Bruce Momjian's avatar Bruce Momjian

Add SGML Makefile rule for single-page text, postgres.txt.

parent 7d7780f4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# PostgreSQL documentation makefile # PostgreSQL documentation makefile
# #
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.145 2010/06/12 15:42:44 momjian Exp $ # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.146 2010/06/12 15:58:38 momjian Exp $
# #
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
...@@ -108,6 +108,10 @@ html-stamp: postgres.sgml $(ALLSGML) stylesheet.dsl ...@@ -108,6 +108,10 @@ html-stamp: postgres.sgml $(ALLSGML) stylesheet.dsl
postgres.html: postgres.sgml $(ALLSGML) stylesheet.dsl postgres.html: postgres.sgml $(ALLSGML) stylesheet.dsl
$(JADE.html.call) -V nochunks -V rootchunk -V '(define %root-filename% #f)' -V '(define use-output-dir #f)' -i include-index $< $(JADE.html.call) -V nochunks -V rootchunk -V '(define %root-filename% #f)' -V '(define use-output-dir #f)' -i include-index $<
# single-page text
postgres.txt: postgres.html
$(LYNX) -force_html -dump -nolist -stdin $< > $@
HTML.index: postgres.sgml $(ALMOSTALLSGML) stylesheet.dsl HTML.index: postgres.sgml $(ALMOSTALLSGML) stylesheet.dsl
@$(MKDIR_P) html @$(MKDIR_P) html
$(JADE.html.call) -V html-index $< $(JADE.html.call) -V html-index $<
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment