Index: sgml/Makefile
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/Makefile,v
retrieving revision 1.93
diff -c -r1.93 Makefile
*** sgml/Makefile	26 Jan 2007 23:51:39 -0000	1.93
--- sgml/Makefile	27 Jan 2007 22:33:17 -0000
***************
*** 99,104 ****
--- 99,110 ----
  endif
  
  
+ # The draft rule calls gmake again and sets the DRAFT variable.
+ # This seems to be the only way to set gmake variables in a rule.
+ draft:
+ 	@$(MAKE) DRAFT="Y" html
+ 
+ 
  COLLATEINDEX := LC_ALL=C $(PERL) $(COLLATEINDEX) -f -g
  
  # bookindex.sgml is required so there is a proper index for all output formats
Index: sgml/docguide.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v
retrieving revision 1.66
diff -c -r1.66 docguide.sgml
*** sgml/docguide.sgml	26 Jan 2007 22:23:50 -0000	1.66
--- sgml/docguide.sgml	27 Jan 2007 22:33:17 -0000
***************
*** 546,552 ****
      stages.  If you do not care about the index, and just want to
      proof-read the output, use <literal>draft</>:
  <screen>
! <prompt>doc/src/sgml$ </prompt><userinput>gmake DRAFT=Y html</userinput>
  </screen>
     </para>
  
--- 546,552 ----
      stages.  If you do not care about the index, and just want to
      proof-read the output, use <literal>draft</>:
  <screen>
! <prompt>doc/src/sgml$ </prompt><userinput>gmake draft</userinput>
  </screen>
     </para>
  
