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 642758e276193eba444485445705ed436e497636..398e4488c4537dc146a493cfc16e6ac90607e77c 100644 (file)
@@ -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">' \
          >$@