aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-10-07 23:48:52 +0000
committerBruce Momjian <bruce@momjian.us>2006-10-07 23:48:52 +0000
commitaa198e5f14c09d4fe7741ebd16c7db027ef2d7dd (patch)
tree8b37e1814438729b43e1add516fe5feb1edd10f2
parentdc1e047baf7ab55f82eddc1c9a717eab556faefb (diff)
downloadpostgresql-aa198e5f14c09d4fe7741ebd16c7db027ef2d7dd.tar.gz
postgresql-aa198e5f14c09d4fe7741ebd16c7db027ef2d7dd.zip
Simplify <link> regex cleanup code.
-rw-r--r--doc/src/sgml/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 48901c46530..97f15bf6f49 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.79 2006/10/07 23:28:04 momjian Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.80 2006/10/07 23:48:52 momjian Exp $
#
#----------------------------------------------------------------------------
@@ -192,7 +192,7 @@ INSTALL.html: standalone-install.sgml installation.sgml version.sgml
HISTORY.html: release.sgml
( echo '<!doctype appendix PUBLIC "-//OASIS//DTD DocBook V4.2//EN">'; \
cat $< ) | \
- $(PERL) -p -0 -e 's/<link[\n\s]+linkend[^>]*>//sg' | \
+ $(PERL) -p -0 -e 's/<link\s+linkend[^>]*>//g' | \
$(PERL) -p -e 's/<\/link>//g' >tempfile_HISTORY.sgml
$(JADE.text) -V nochunks tempfile_HISTORY.sgml >$@
rm tempfile_HISTORY.sgml