* allow to specify FPCSRCDIR and FPDOC

This commit is contained in:
peter 2003-05-29 10:25:51 +00:00
parent 659a481c3e
commit dbf5fd90ca

View File

@ -44,7 +44,13 @@ ifndef DOCINSTALLDIR
DOCINSTALLDIR:=$(PREFIXINSTALLDIR)/doc/fpc-$(shell ppc386 -iV) DOCINSTALLDIR:=$(PREFIXINSTALLDIR)/doc/fpc-$(shell ppc386 -iV)
endif endif
ifndef FPDOC
FPDOC=fpdoc FPDOC=fpdoc
endif
ifndef FPCSRCDIR
FPCSRCDIR=..
endif
# Use Ascii mode ? (i.e. no pics in produced HTML ?) # Use Ascii mode ? (i.e. no pics in produced HTML ?)
ifndef ASCIIMODE ifndef ASCIIMODE
@ -312,7 +318,7 @@ endif
##################################################################### #####################################################################
# Tex from XML # Tex from XML
##################################################################### #####################################################################
FCLOPTS=--package=fcl --descr=classes.xml --input='../fcl/linux/classes.pp -Fi../fcl/inc' FCLOPTS=--package=fcl --descr=classes.xml --input='$(FPCSRCDIR)/fcl/linux/classes.pp -Fi$(FPCSRCDIR)/fcl/inc'
fcl.inc: classes.xml fcl.inc: classes.xml
$(FPDOC) --output=fcl.inc $(FCLOPTS) --format=latex $(FPDOC) --output=fcl.inc $(FCLOPTS) --format=latex
@ -543,7 +549,10 @@ execute:
# #
# $Log$ # $Log$
# Revision 1.21 2003-03-18 21:25:23 michael # Revision 1.22 2003-05-29 10:25:51 peter
# * allow to specify FPCSRCDIR and FPDOC
#
# Revision 1.21 2003/03/18 21:25:23 michael
# + Added fcl docs and fpdoc # + Added fcl docs and fpdoc
# #
# Revision 1.20 2003/03/18 00:14:51 michael # Revision 1.20 2003/03/18 00:14:51 michael