]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/bin/xhtbl/Makefile
update in ground_2 and basic_2
[helm.git] / helm / www / lambdadelta / bin / xhtbl / Makefile
index 9e9db85db646cefc7ca22a4b388acbeeb02c2067..e1b330db9edebac773ca5b4e9ebc22a5acd1a69a 100644 (file)
@@ -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