diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 613c124c..a6b31f3b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -28,12 +28,15 @@ pkgfiles = NEWS \ TODO \ vignettes/* -all: NEWS check clean +all: check clean # convert markdown to R's NEWS format (from knitr package) NEWS: NEWS.md sed -e 's/^-/ -/' -e 's/^## *//' -e 's/^#/\t\t/' <NEWS.md | fmt -80 >NEWS +README.md: README.Rmd + "$(RBIN)/Rscript" -e 'require(knitr); knit("README.Rmd")' + $(TGZ): $(pkgfiles) cd ..;\ "$(RBIN)/R" CMD build $(PKGSRC) |