Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3ec7ae1

Browse files
committed
Modify SGML makefile to allow 'gmake draft' to build draft html ('draft'
is now a target, no longer a modifier).
1 parent6cefacd commit3ec7ae1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

‎doc/src/sgml/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# PostgreSQL documentation makefile
44
#
5-
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.93 2007/01/26 23:51:39 momjian Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.94 2007/01/27 22:44:32 momjian Exp $
66
#
77
#----------------------------------------------------------------------------
88

@@ -99,6 +99,12 @@ ifneq ($(DRAFT), Y)
9999
endif
100100

101101

102+
# The draft rule calls gmake again and sets the DRAFT variable.
103+
# This seems to be the only way to set gmake variables in a rule.
104+
draft:
105+
@$(MAKE) DRAFT="Y" html
106+
107+
102108
COLLATEINDEX := LC_ALL=C$(PERL)$(COLLATEINDEX) -f -g
103109

104110
# bookindex.sgml is required so there is a proper index for all output formats

‎doc/src/sgml/docguide.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.66 2007/01/26 22:23:50 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.67 2007/01/27 22:44:32 momjian Exp $ -->
22

33
<appendix id="docguide">
44
<title>Documentation</title>
@@ -546,7 +546,7 @@ checking for sgmlspl... sgmlspl
546546
stages. If you do not care about the index, and just want to
547547
proof-read the output, use <literal>draft</>:
548548
<screen>
549-
<prompt>doc/src/sgml$ </prompt><userinput>gmakeDRAFT=Y html</userinput>
549+
<prompt>doc/src/sgml$ </prompt><userinput>gmakedraft</userinput>
550550
</screen>
551551
</para>
552552

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp