| 1 | ### -*-Makefile-*- to build expint vignettes |
| 2 | ## |
| 3 | ## AUTHOR: Vincent Goulet <[email protected]> |
| 4 | |
| 5 | ## List of vignettes to build |
| 6 | VIGNETTES = expint.pdf |
| 7 | |
| 8 | ## Toolset |
| 9 | SWEAVE = "$(R_HOME)/bin/R" CMD Sweave --encoding="utf-8" |
| 10 | TEXI2DVI = LATEX=xelatex texi2dvi -b |
| 11 | RM = rm -rf |
| 12 | |
| 13 | all: pdf |
| 14 | |
| 15 | %.pdf: %.tex |
| 16 | ${TEXI2DVI} '$<' |
| 17 | |
| 18 | .PHONY: pdf |
| 19 | pdf: ${VIGNETTES} |
| 20 | |
| 21 | .PHONY: clean |
| 22 | clean: |
| 23 | ${RM} *.tex *-[0-9][0-9][0-9].pdf \ |
| 24 | *.aux *.bbl *.blg *.log *.out *~ Rplots* \ |
| 25 | auto/ share/auto/ |