From 1aa094a2d59a933e04036b2ce5377cb8466bf362 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 --- matita/help/C/Makefile | 14 ++----- matita/help/C/matita-xhtml.xsl | 68 +++++++++++++++++++++++++++++++++- 2 files changed, 70 insertions(+), 12 deletions(-) diff --git a/matita/help/C/Makefile b/matita/help/C/Makefile index fd0e3844f..329473d06 100644 --- a/matita/help/C/Makefile +++ b/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/matita/help/C/matita-xhtml.xsl b/matita/help/C/matita-xhtml.xsl index eb7816397..e67b48973 100644 --- a/matita/help/C/matita-xhtml.xsl +++ b/matita/help/C/matita-xhtml.xsl @@ -1,6 +1,72 @@ + + - 1 + + + docbook.css + + + + + +
    + +
+
+ +
  • + + + + < + + + mailto: + + + + + > +
  • +
    + + + + + +
    + +
    +
    + + + Revision: + + + + , + + + + + + + + + + + + + +
    + -- 2.39.2