Skip to content
Snippets Groups Projects
Commit b67e7bb1 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Allow building documentation outside source tree.

from Ian Lance Taylor
parent 00713cb7
No related branches found
No related tags found
No related merge requests found
# 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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment