diff options
Diffstat (limited to 'inst/doc/Makefile')
-rw-r--r-- | inst/doc/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/inst/doc/Makefile b/inst/doc/Makefile index 637b193..26fe678 100644 --- a/inst/doc/Makefile +++ b/inst/doc/Makefile @@ -1,6 +1,6 @@ # Makefile for Sweave documents containing both Latex and R code # Author: Johannes Ranke <jranke@uni-bremen.de> -# Last Change: 2006 Mai 10 +# Last Change: 2006 Mai 11 # based on the Makefile of Nicholas Lewin-Koh # in turn based on work of Rouben Rostmaian # SVN: $Id: Makefile.rnoweb 50 2006-04-18 11:13:52Z ranke $ @@ -14,14 +14,8 @@ TARGETS = $(patsubst %.Rnw,%.tex,$(RNWFILE)) $(patsubst %.Rnw,%.pdf,$(RNWFILES)) %.pdf: %.tex pdflatex $< -all: all-recursive $(TARGETS) +all: $(TARGETS) -clean: clean-recursive +clean: rm -f *.aux *.log *.bbl *.blg *.brf *.cb *.ind *.idx *.ilg \ *.inx *.ps *.dvi *.toc *.out *.lot *~ *.lof *.ttt *.fff - -all-recursive: - for dir in $(wildcard *); do if [ -d $$dir ] && [ -f $$dir/Makefile ]; then cd $$dir; $(MAKE) all; cd ..; fi; done - -clean-recursive: - for dir in $(wildcard *); do if [ -d $$dir ] && [ -f $$dir/Makefile ]; then cd $$dir; $(MAKE) clean; cd ..; fi; done |