mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix for vpath build
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# PostgreSQL documentation makefile
|
# PostgreSQL documentation makefile
|
||||||
#
|
#
|
||||||
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.60 2003/11/29 19:51:36 pgsql Exp $
|
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.61 2003/12/11 22:10:51 petere Exp $
|
||||||
#
|
#
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -22,6 +22,13 @@ JADE = jade
|
|||||||
endif
|
endif
|
||||||
SGMLINCLUDE = -D $(srcdir)
|
SGMLINCLUDE = -D $(srcdir)
|
||||||
|
|
||||||
|
# If this is a vpath build, some generated SGML will be in the build
|
||||||
|
# tree, so we need to make sure we look there as well as in the
|
||||||
|
# source tree
|
||||||
|
ifeq ($(vpath_build), yes)
|
||||||
|
SGMLINCLUDE += -D .
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef NSGMLS
|
ifndef NSGMLS
|
||||||
NSGMLS = nsgmls
|
NSGMLS = nsgmls
|
||||||
endif
|
endif
|
||||||
@ -80,6 +87,9 @@ all: html
|
|||||||
html: postgres.sgml $(ALLSGML) stylesheet.dsl
|
html: postgres.sgml $(ALLSGML) stylesheet.dsl
|
||||||
@rm -f *.html
|
@rm -f *.html
|
||||||
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -i output-html -t sgml $<
|
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -i output-html -t sgml $<
|
||||||
|
ifeq ($(vpath_build), yes)
|
||||||
|
@cp $(srcdir)/stylesheet.css .
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
COLLATEINDEX := LC_ALL=C $(PERL) $(COLLATEINDEX) -f -g
|
COLLATEINDEX := LC_ALL=C $(PERL) $(COLLATEINDEX) -f -g
|
||||||
|
Reference in New Issue
Block a user