]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/bin/xhtbl/Makefile
update in basic_2
[helm.git] / helm / www / lambdadelta / bin / xhtbl / Makefile
index 9e9db85db646cefc7ca22a4b388acbeeb02c2067..c56f2d8d7dea84b1dc270055cebf59dfe466c157 100644 (file)
@@ -1,36 +1,10 @@
-EXEC = xhtbl
-VERSION=0.1.1
+EXECS = xhtbl
 
 REQUIRES = str
 
-YACCFLAGS = -v
+include ../Makefile.common
 
-include Makefile.common
+test:
+       @$(MAKE) --no-print-directory -C ../../ www
 
-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 $<
+.PHONY: test