From 18ca6cec5a82241cc389bbf82742565e79d81ed8 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Sat, 10 Jun 2006 16:24:25 +0000 Subject: [PATCH] generate deps on the fly added dep on the stylesheets --- helm/software/matita/help/C/Makefile | 14 +--- helm/software/matita/help/C/matita-xhtml.xsl | 68 +++++++++++++++++++- 2 files changed, 70 insertions(+), 12 deletions(-) diff --git a/helm/software/matita/help/C/Makefile b/helm/software/matita/help/C/Makefile index fd0e3844f..329473d06 100644 --- a/helm/software/matita/help/C/Makefile +++ b/helm/software/matita/help/C/Makefile @@ -8,16 +8,7 @@ TEX_XSL=matita-tex.xsl TEX_UNICODE_PATH=$(SRCROOT)/share/texmf/unicode TEX_ENV=TEXINPUTS=.:$(TEX_UNICODE_PATH):$(TEX_UNICODE_PATH)/data: MAIN=matita.xml -DEPENDENCES = \ - legal.xml \ - sec_install.xml \ - sec_gettingstarted.xml \ - sec_intro.xml \ - sec_terms.xml \ - sec_tactics.xml \ - sec_tacticals.xml \ - sec_commands.xml \ - sec_usernotation.xml +DEPS := $(wildcard *.xml) # one of: "fop", "pdflatex" PDF_METHOD=pdflatex @@ -42,7 +33,7 @@ test: .PHONY: html html: html-stamp -html-stamp: $(MAIN) $(DEPENDENCES) +html-stamp: $(MAIN) $(DEPS) $(XHTML_XSL) xsltproc $(XHTML_XSL) $< touch $@ @@ -88,3 +79,4 @@ endif .PRECIOUS: matita.tex + diff --git a/helm/software/matita/help/C/matita-xhtml.xsl b/helm/software/matita/help/C/matita-xhtml.xsl index eb7816397..e67b48973 100644 --- a/helm/software/matita/help/C/matita-xhtml.xsl +++ b/helm/software/matita/help/C/matita-xhtml.xsl @@ -1,6 +1,72 @@ + + - 1 + + + docbook.css + + + + + +
    + +
+
+ +
  • + + + + < + + + mailto: + + + + + > +
  • +
    + + + + + +
    + +
    +
    + + + Revision: + + + + , + + + + + + + + + + + + + +
    + -- 2.39.2