From a4bac1d8f2bd54afdf80ffee0e6b087d96de2640 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Fri, 19 Dec 2003 13:13:00 +0000 Subject: [PATCH] Patch #782320: Improved Makefile example from Oliver Fischer --- website/example/build-make.xml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/website/example/build-make.xml b/website/example/build-make.xml index 365c4ed1f..a9e001bd8 100644 --- a/website/example/build-make.xml +++ b/website/example/build-make.xml @@ -29,19 +29,19 @@ STYLEOPT= --stringparam output-root . .PHONY : clean -all: - make website +all: depends.tabular + @$(MAKE) website -include depends.tabular +-include depends.tabular autolayout.xml: layout.xml $(PROC) --output $@ $(STYLEDIR)/autolayout.xsl $< - make depends %.html: autolayout.xml - $(PROC) --output $@ $(STYLEOPT) $(STYLESHEET) $(filter-out autolayout.xml,$^) + $(PROC) --output $@ $(STYLEOPT) $(STYLESHEET) \ + $(filter-out depends.tabular,$(filter-out autolayout.xml,$^)) -depends: autolayout.xml +depends.tabular: autolayout.xml $(PROC) --output depends.tabular $(STYLEOPT) $(STYLEDIR)/makefile-dep.xsl $< ]]> @@ -49,13 +49,6 @@ depends: autolayout.xml the command-lines used to run the processor. -Create an empty file called -depends.tabular. - - -Run make depends. - - Run make. That should build your website. -- 2.40.0