X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fwww%2Flambdadelta%2Fbin%2Fxhtbl%2FMakefile;h=e1b330db9edebac773ca5b4e9ebc22a5acd1a69a;hb=a145b5df4a86b3d5f8516a9c1cb76a62f6327151;hp=9e9db85db646cefc7ca22a4b388acbeeb02c2067;hpb=2a5e0b799cd6aae5d920c67a5ddc9d9888cf7e80;p=helm.git diff --git a/helm/www/lambdadelta/bin/xhtbl/Makefile b/helm/www/lambdadelta/bin/xhtbl/Makefile index 9e9db85db..e1b330db9 100644 --- a/helm/www/lambdadelta/bin/xhtbl/Makefile +++ b/helm/www/lambdadelta/bin/xhtbl/Makefile @@ -5,32 +5,7 @@ REQUIRES = str YACCFLAGS = -v -include Makefile.common +include ../Makefile.common -XSLT = xsltproc -XHTBL = ./xhtbl.native - -LDURL = http://lambdadelta.info/ -XSLDIR = ../../xslt/ -SRCDIR = ../../web/home/ -ETCDIR = ../../etc/ -HOMEDIR = ../../ -TBLDIRS = $(SRCDIR) $(ETCDIR) - -LDWS = $(shell find $(SRCDIR) -name "*.ldw.xml") -TBLS = $(shell find -L $(TBLDIRS) -name "*.tbl") -XSLS = xhtbl.xsl $(patsubst %.tbl, %.xsl, $(notdir $(TBLS))) -HTMLS = $(patsubst %.ldw.xml, $(HOMEDIR)%.html, $(notdir $(LDWS))) -LDWEB = ld_web.xsl ld_web_root.xsl ld_web_library.xsl - -$(HOMEDIR)%.html: BASEURL = --stringparam baseurl $(LDURL) - -www: $(HTMLS) - -$(XSLS:%=$(XSLDIR)%): $(TBLS) $(XHTBL) - @echo " XHTBL *.tbl" - $(H)$(XHTBL) -O $(XSLDIR) $(TBLS) - -$(HOMEDIR)%.html: $(SRCDIR)%.ldw.xml $(XSLS:%=$(XSLDIR)%) $(LDWEB:%=$(XSLDIR)%) - @echo " XSLT $(notdir $<)" - $(H)$(XSLT) -o $@ $(BASEURL) $(XSLDIR)ld_web.xsl $< +test: + @$(MAKE) --no-print-directory -C ../../ www