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

Commitdc1e047

Browse files
committed
Allow HISTORY/history.html to be generated by removing <link> elements,
per suggestion from Peter. Without this, the main doc links preventthose files from being built.
1 parent0629030 commitdc1e047

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

‎doc/src/sgml/Makefile

Lines changed: 5 additions & 2 deletions
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.78 2006/10/05 02:04:32 momjian Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.79 2006/10/07 23:28:04 momjian Exp $
66
#
77
#----------------------------------------------------------------------------
88

@@ -188,9 +188,12 @@ INSTALL HISTORY regress_README: % : %.html
188188
INSTALL.html: standalone-install.sgml installation.sgml version.sgml
189189
$(JADE.text) -V nochunks standalone-install.sgml installation.sgml>$@
190190

191+
# remove links to main documentation
191192
HISTORY.html: release.sgml
192193
(echo'<!doctype appendix PUBLIC "-//OASIS//DTD DocBook V4.2//EN">'; \
193-
cat$< )>tempfile_HISTORY.sgml
194+
cat$< )|\
195+
$(PERL) -p -0 -e's/<link[\n\s]+linkend[^>]*>//sg'|\
196+
$(PERL) -p -e's/<\/link>//g'>tempfile_HISTORY.sgml
194197
$(JADE.text) -V nochunks tempfile_HISTORY.sgml>$@
195198
rm tempfile_HISTORY.sgml
196199

‎doc/src/sgml/release.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.466 2006/10/0722:06:25 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.467 2006/10/0723:28:04 momjian Exp $ -->
22
<!--
33

44
Typical markup:
@@ -25,7 +25,9 @@ non-ASCII characters convert to HTML4 entity (&) escapes
2525

2626
wrap long lines
2727

28-
For new features, add links to the documentation sections.
28+
For new features, add links to the documentation sections. Use </link>
29+
so that perl can remove it so HISTORY.html can be created with no
30+
links to the main documentation.
2931

3032
-->
3133

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp