aboutsummaryrefslogtreecommitdiff
path: root/inst/doc/Makefile
diff options
context:
space:
mode:
authorranke <ranke@5fad18fb-23f0-0310-ab10-e59a3bee62b4>2006-05-10 15:44:14 +0000
committerranke <ranke@5fad18fb-23f0-0310-ab10-e59a3bee62b4>2006-05-10 15:44:14 +0000
commit513dfbdcdda94a901b5901b486ff5500c7d158b1 (patch)
treefefbf7daadbd7da71add3ed63b3d3b07c4c8e4df /inst/doc/Makefile
parent8d30b2cd951c992e4f9aa3055054091e18b8b4f0 (diff)
The inverse prediction works in a variety of cases and is
tested with Examples 7 and 8 from Massart! I need to compare with the DIN and draper examples, and finish the package vignette. git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/chemCal@6 5fad18fb-23f0-0310-ab10-e59a3bee62b4
Diffstat (limited to 'inst/doc/Makefile')
-rw-r--r--inst/doc/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/inst/doc/Makefile b/inst/doc/Makefile
new file mode 100644
index 0000000..637b193
--- /dev/null
+++ b/inst/doc/Makefile
@@ -0,0 +1,27 @@
+# Makefile for Sweave documents containing both Latex and R code
+# Author: Johannes Ranke <jranke@uni-bremen.de>
+# Last Change: 2006 Mai 10
+# 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 $
+
+RNWFILES = $(wildcard *.Rnw)
+TARGETS = $(patsubst %.Rnw,%.tex,$(RNWFILE)) $(patsubst %.Rnw,%.pdf,$(RNWFILES))
+
+%.tex: %.Rnw
+ echo 'Sweave("$<")' | R --no-save --no-restore
+
+%.pdf: %.tex
+ pdflatex $<
+
+all: all-recursive $(TARGETS)
+
+clean: clean-recursive
+ 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

Contact - Imprint