Commit 96063da9 authored by Alvaro Herrera's avatar Alvaro Herrera

Make XML building work silently on VPATH builds (untested on regular builds).

parent 0b510ad9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# PostgreSQL documentation makefile # PostgreSQL documentation makefile
# #
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.105 2007/12/15 10:28:21 momjian Exp $ # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.106 2008/06/10 00:19:32 alvherre Exp $
# #
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
...@@ -224,7 +224,7 @@ OSX = osx # (may be called sx or sgml2xml on some systems) ...@@ -224,7 +224,7 @@ OSX = osx # (may be called sx or sgml2xml on some systems)
XSLTPROC = xsltproc XSLTPROC = xsltproc
postgres.xml: postgres.sgml $(GENERATED_SGML) postgres.xml: postgres.sgml $(GENERATED_SGML)
$(OSX) -x lower $< | \ $(OSX) -D. -x lower $< | \
sed -e 's/\[\(amp\|copy\|egrave\|gt\|lt\|mdash\|nbsp\|ouml\|pi\|quot\|uuml\) *\]/\&\1;/g' \ sed -e 's/\[\(amp\|copy\|egrave\|gt\|lt\|mdash\|nbsp\|ouml\|pi\|quot\|uuml\) *\]/\&\1;/g' \
-e '1a\' -e '<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">' \ -e '1a\' -e '<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">' \
>$@ >$@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment