From: Bruce Momjian Date: Sat, 7 Oct 2006 23:28:04 +0000 (+0000) Subject: Allow HISTORY/history.html to be generated by removing elements, X-Git-Tag: REL8_2_BETA2~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc1e047baf7ab55f82eddc1c9a717eab556faefb;p=postgresql Allow HISTORY/history.html to be generated by removing elements, per suggestion from Peter. Without this, the main doc links prevent those files from being built. --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 010cabbf83..48901c4653 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -2,7 +2,7 @@ # # PostgreSQL documentation makefile # -# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.78 2006/10/05 02:04:32 momjian Exp $ +# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.79 2006/10/07 23:28:04 momjian Exp $ # #---------------------------------------------------------------------------- @@ -188,9 +188,12 @@ INSTALL HISTORY regress_README: % : %.html INSTALL.html: standalone-install.sgml installation.sgml version.sgml $(JADE.text) -V nochunks standalone-install.sgml installation.sgml >$@ +# remove links to main documentation HISTORY.html: release.sgml ( echo ''; \ - cat $< ) >tempfile_HISTORY.sgml + cat $< ) | \ + $(PERL) -p -0 -e 's/]*>//sg' | \ + $(PERL) -p -e 's/<\/link>//g' >tempfile_HISTORY.sgml $(JADE.text) -V nochunks tempfile_HISTORY.sgml >$@ rm tempfile_HISTORY.sgml diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index 429a1a8e31..b28493e875 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,4 +1,4 @@ - +