From b0cdb2181f2436bf51b65c205eb597fcd888d3d6 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Mon, 3 Jun 2002 22:04:00 +0000 Subject: [PATCH] Added dependencies for profiling stylesheets --- xsl/fo/Makefile | 4 ++-- xsl/html/Makefile | 12 ++++++------ xsl/htmlhelp/Makefile | 4 ++-- xsl/javahelp/Makefile | 4 ++-- xsl/xhtml/Makefile | 14 +++++++++----- 5 files changed, 21 insertions(+), 17 deletions(-) diff --git a/xsl/fo/Makefile b/xsl/fo/Makefile index ed0b68418..02da0f1c9 100644 --- a/xsl/fo/Makefile +++ b/xsl/fo/Makefile @@ -31,8 +31,8 @@ titlepage.templates.xsl: titlepage.templates.xml ../template/titlepage.xsl Makefile.param: ../../cvstools/paramchk -m $@ param.xweb -profile-docbook.xsl: - $(XSLT) docbook.xsl ../profiling/xsl2profile.xsl $@ +profile-docbook.xsl: docbook.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ clean: $(RM) param.xml param.html param.xsl \ diff --git a/xsl/html/Makefile b/xsl/html/Makefile index cb7d7310f..ec3995034 100644 --- a/xsl/html/Makefile +++ b/xsl/html/Makefile @@ -37,14 +37,14 @@ Makefile.param: ../../cvstools/paramchk -m $@ param.xweb make -profile-docbook.xsl: - $(XSLT) docbook.xsl ../profiling/xsl2profile.xsl $@ +profile-docbook.xsl: docbook.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ -profile-chunk.xsl: - $(XSLT) chunk.xsl ../profiling/xsl2profile.xsl $@ +profile-chunk.xsl: chunk.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ -profile-onechunk.xsl: - $(XSLT) onechunk.xsl ../profiling/xsl2profile.xsl $@ +profile-onechunk.xsl: onechunk.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ clean: $(RM) param.xml param.html param.xsl \ diff --git a/xsl/htmlhelp/Makefile b/xsl/htmlhelp/Makefile index 049904e8d..944d131c2 100644 --- a/xsl/htmlhelp/Makefile +++ b/xsl/htmlhelp/Makefile @@ -3,5 +3,5 @@ XJPARSE=../../cvstools/xjparse all: profile-htmlhelp.xsl -profile-htmlhelp.xsl: - $(XSLT) htmlhelp.xsl ../profiling/xsl2profile.xsl $@ +profile-htmlhelp.xsl: htmlhelp.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ diff --git a/xsl/javahelp/Makefile b/xsl/javahelp/Makefile index 83788ee4b..7cfa7a91e 100644 --- a/xsl/javahelp/Makefile +++ b/xsl/javahelp/Makefile @@ -3,5 +3,5 @@ XJPARSE=../../cvstools/xjparse all: profile-javahelp.xsl -profile-javahelp.xsl: - $(XSLT) javahelp.xsl ../profiling/xsl2profile.xsl $@ +profile-javahelp.xsl: javahelp.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ diff --git a/xsl/xhtml/Makefile b/xsl/xhtml/Makefile index 09b0a97f0..00e4e2d8b 100644 --- a/xsl/xhtml/Makefile +++ b/xsl/xhtml/Makefile @@ -1,6 +1,6 @@ include ../../cvstools/Makefile.incl -all: xsl-files profile-docbook.xsl profile-chunk.xsl +all: xsl-files profile-docbook.xsl profile-chunk.xsl profile-onechunk.xsl remove-old: for f in *.xsl; do if [ ! -f ../html/$$f -a "$$f" != "html2xhtml.xsl" ]; then rm $$f; fi; done @@ -13,8 +13,12 @@ add-new: xsl-files: remove-old add-new for f in *.xsl; do if [ ../html/$$f -nt $$f ]; then $(XSLT) ../html/$$f html2xhtml.xsl $$f; fi; done -profile-docbook.xsl: - $(XSLT) docbook.xsl ../profiling/xsl2profile.xsl $@ +profile-docbook.xsl: docbook.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ + +profile-chunk.xsl: chunk.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ + +profile-onechunk.xsl: onechunk.xsl ../profiling/xsl2profile.xsl + $(XSLT) $< ../profiling/xsl2profile.xsl $@ -profile-chunk.xsl: - $(XSLT) chunk.xsl ../profiling/xsl2profile.xsl $@ -- 2.40.0