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 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
188188INSTALL.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
191192HISTORY.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
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 $ -->
22<!--
33
44Typical markup:
@@ -25,7 +25,9 @@ non-ASCII characters convert to HTML4 entity (&) escapes
2525
2626wrap 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
You can’t perform that action at this time.
0 commit comments