Hallo,
ich baue mir gerade ein paar Makefiles, um damit Webseiten via
Website DTD zu erstellen. Dabei wird eine Datei erzeugt, die ein
Ziel website: enthält, die ich an einer anderen Stelle via
.if exists($(.CURIDR)/depends.tabular)
.include "$(.CURDIR)/depends.tabular"
.endif
einbinde, um website: als Ziel angeben zu können.
Allerdings wird es nicht gefunden... Nun weiss ich nicht warum, da
ich an anderen Stellen .include ohne Probleme verwenden kann.
Irgendwelche Hinweise?
Vielen Dank!
Makefile:
XSLTPROC=/usr/local/bin/xsltproc
XSLTPROC_OPTIONS=--catalogs --nonet
XMLLINT=/usr/local/bin/xmllint
XMLLINT_OPTIONS=--valid --noout
.if exists($(.CURIDR)/depends.tabular)
.include "$(.CURDIR)/depends.tabular"
.endif
%.html: autolayout.xml
$(XMLLINT) $(XMLLINT_OPTIONS) $(filter-out autolayout.xml,$^)
$(XSLTPROC) $(XSLTPROC_OPTIONS) \
-o $@ \
--stringparam autolayout-file "$(PWD)/autolayout.xml" \
customTabular.xsl \
$(filter-out autolayout.xml,$^)
init:
@echo "" > depends.tabular
$(XMLLINT) $(XMLLINT_OPTIONS) layout.xml
$(XSLTPROC) $(XSLTPROC_OPTIONS) \
-o autolayout.xml customAutolayout.xsl layout.xml
$(XSLTPROC) $(XSLTPROC_OPTIONS) \
customChunk-Tabular.xsl autolayout.xml
depends: autolayout.xml
$(XMLLINT) $(XMLLINT_OPTIONS) $(.ALLSRC)
$(XSLTPROC) $(XSLTPROC_OPTIONS) \
-o depends.tabular customMakefile-dep.xsl $(.ALLSRC)
-- Oliver Fischer --[ Oliver Fischer ]-[ plexus(at)snafu.de ]---------------- To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Wed 02 Apr 2003 - 11:51:29 CEST