Make XML building work silently on VPATH builds (untested on regular builds).
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 10 Jun 2008 00:19:32 +0000 (00:19 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 10 Jun 2008 00:19:32 +0000 (00:19 +0000)
doc/src/sgml/Makefile

index 7fdbb860c4bfb651ac48818417a86363242fb95d..8a4ce0da1fe5f7c6a2fdf23d7b5d136f74152483 100644 (file)
@@ -2,7 +2,7 @@
 #
 # 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)
 XSLTPROC = xsltproc
 
 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' \
              -e '1a\' -e '<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">' \
          >$@