Re: pmake und .include

From: Oliver Fischer <plexus(at)snafu.de>
Date: Wed, 02 Apr 2003 13:47:17 +0200

Gefunden, muß nach all: eingebunden werden.

Tschau

Oliver

Oliver Fischer wrote:
> 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 message

-- 
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 message
Received on Wed 02 Apr 2003 - 13:47:24 CEST

search this site