-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 926 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include .make/Makefile
spelling:
$(R_SCRIPT) -e "spelling::spell_check_files(c('NEWS.md', 'incl/OVERVIEW.md', dir('vignettes', pattern='[.](md|rsp)$$', full.names=TRUE)), ignore=readLines('inst/WORDLIST', warn=FALSE))"
vignettes/parallelly-01-intro.md: incl/OVERVIEW.md vignettes/incl/clean.css
sed -E -i '/^(<!-- DO NOT EDIT THIS FILE|!\[|#+[[:space:]])/,$$d' $@
echo "<!-- DO NOT EDIT THIS FILE! Edit 'OVERVIEW.md' instead and then rebuild this file with 'make vigs' -->" >> $@
cat $< >> $@
sed -i 's/vignettes\///g' $@
vigns: vignettes/parallelly-01-intro.md
r-versions:
@echo "Before:"
@grep -F "4.5.0" -r --include="*.R" --include="*.Rd" --include="*.md" --exclude-dir="revdep/"
@sed -i 's/R-4.5.0/R-4.5.1/' incl/*.R R/*.R
@sed -i 's/4.5.0 (2025-04-11)/4.5.1 (2025-06-13)/' vignettes/*.md
@echo
@echo "After:"
@grep -F "4.5.0" -r --include="*.R" --include="*.Rd" --include="*.md" --exclude-dir="revdep/"