File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
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.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 $
6
6
#
7
7
# ----------------------------------------------------------------------------
8
8
@@ -188,9 +188,12 @@ INSTALL HISTORY regress_README: % : %.html
188
188
INSTALL.html : standalone-install.sgml installation.sgml version.sgml
189
189
$(JADE.text ) -V nochunks standalone-install.sgml installation.sgml > $@
190
190
191
+ # remove links to main documentation
191
192
HISTORY.html : release.sgml
192
193
( 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
194
197
$(JADE.text ) -V nochunks tempfile_HISTORY.sgml > $@
195
198
rm tempfile_HISTORY.sgml
196
199
Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.466 2006/10/07 22:06:25 momjian Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.467 2006/10/07 23:28:04 momjian Exp $ -->
2
2
<!--
3
3
4
4
Typical markup:
@@ -25,7 +25,9 @@ non-ASCII characters convert to HTML4 entity (&) escapes
25
25
26
26
wrap long lines
27
27
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.
29
31
30
32
-->
31
33
You can’t perform that action at this time.
0 commit comments