Commit 5a5d2e94 authored by Pietro Abate's avatar Pietro Abate

[r2005-04-29 10:18:17 by mburelle] Now use a compiled interface. Make sure path to CDuce is correct

(using PWD and var subsitution rather than relative hardcoded path.)
Marwan.

Original author: mburelle
Date: 2005-04-29 10:18:17+00:00
parent 7d55c480
# include ../../Makefile.distrib
JAVA_HOME=/usr/java/jre1.5.0
VERSION=0.3.2
CDUCE=../cduce
FOP=fop-0.20.5/fop.sh
# FOP=fop
BUILD_DIR:=$(PWD:/doc/fomanual=)
CDUCE=$(BUILD_DIR)/cduce
# FOP=fop-0.20.5/fop.sh
FOP=fop
all: manual.pdf tutorial.pdf
......@@ -15,14 +16,30 @@ all: manual.pdf tutorial.pdf
# (cd ../../web && $(CDUCE) ../doc/fomanual/xml2fo.cd \
# --arg manual.xml manual_fo.xml $(VERSION))
tutorial.fo: xml2fo.cd ../../web/tutorial.xml ../../web/tutorial/*.xml
(cd ../../web && ${CDUCE} ../doc/fomanual/xml2fo.cd \
--arg tutorial.xml tutorial.fo ${VERSION})
# tutorial.fo: xml2fo.cd ../../web/tutorial.xml ../../web/tutorial/*.xml ../../web/siteTypes.cd
# (cd ../../web && ${CDUCE} ../doc/fomanual/xml2fo.cd \
# --arg tutorial.xml tutorial.fo ${VERSION})
# manual.fo: xml2fo.cd ../../web/manual.xml ../../web/manual/*.xml ../../web/siteTypes.cd
# (cd ../../web && ${CDUCE} ../doc/fomanual/xml2fo.cd \
# --arg manual.xml manual.fo ${VERSION})
echo:
@echo ${PWD}
@echo ${BUILD_DIR}
@echo ${CDUCE}
manual.fo: xml2fo.cd ../../web/manual.xml ../../web/manual/*.xml
(cd ../../web && ${CDUCE} ../doc/fomanual/xml2fo.cd \
xml2fo.cdo: xml2fo.cd ../../web/siteTypes.cd
${CDUCE} --compile -I ../../web xml2fo.cd
manual.fo: ../../web/manual.xml ../../web/manual/* xml2fo.cdo
(cd ../../web && ${CDUCE} --run -I ../doc/fomanual xml2fo.cdo \
--arg manual.xml manual.fo ${VERSION})
tutorial.fo: ../../web/tutorial.xml ../../web/tutorial/* xml2fo.cdo
(cd ../../web && ${CDUCE} --run -I ../doc/fomanual xml2fo.cdo \
--arg tutorial.xml tutorial.fo ${VERSION})
# tutorial_pdf: tutorial
# $(FOP) tutorial_fo.xml tutorial.pdf
......@@ -39,6 +56,7 @@ install:
clean::
rm -f *~
rm -f xml2fo.cdo
rm -f tutorial_fo.xml manual_fo.xml
rm -f tutorial.fo manual.fo
rm -f tutorial.pdf manual.pdf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment