Allow building documentation outside source tree.

from Ian Lance Taylor
This commit is contained in:
Peter Eisentraut 2001-03-25 08:32:24 +00:00
parent 00713cb7cb
commit b67e7bb1f7
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# Postgres documentation makefile
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.16 2001/02/17 16:47:57 tgl Exp $
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.17 2001/03/25 08:32:24 petere Exp $
subdir = doc/src
top_builddir = ../..
@ -43,17 +43,17 @@ admin.tar developer.tar reference.tar user.tar:
programmer.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml programmer.html
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C ../graphics catalogs.gif connections.gif
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C `cd $(srcdir) && pwd`/graphics catalogs.gif connections.gif
tutorial.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml tutorial.html
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C ../graphics clientserver.gif
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C `cd $(srcdir) && pwd`/graphics clientserver.gif
postgres.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml postgres.html
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C ../graphics catalogs.gif clientserver.gif connections.gif
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C `cd $(srcdir) && pwd`/graphics catalogs.gif clientserver.gif connections.gif
man.tar:
$(MAKE) -C sgml man

View File

@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.34 2001/03/10 16:05:35 petere Exp $
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.35 2001/03/25 08:32:24 petere Exp $
#
#----------------------------------------------------------------------------
@ -26,7 +26,7 @@ endif
ifndef JADE
JADE = jade
endif
SGMLINCLUDE = -D ref -D ../graphics
SGMLINCLUDE = -D $(srcdir) -D $(srcdir)/ref -D $(srcdir)/../graphics
ifndef NSGMLS
NSGMLS = nsgmls