Skip to content

Commit 459eaab

Browse files
committed
updated cleanup script
1 parent d829f58 commit 459eaab

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* vignettes/Makefile: Refinements
77
* vignettes/rmd/Makefile: Idem
88

9+
* cleanup: Removed bashism, added invocation of make clean
10+
911
2019-10-23 Dirk Eddelbuettel <[email protected]>
1012

1113
* vignettes/Rcpp-*.Rnw: Wrappers around pdf/*pdf

cleanup

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
#cd inst/doc && rm -f index.html *.tex *.bbl *.blg *.aux *.out *.log && cd -
44

@@ -30,7 +30,10 @@ rm -f confdefs.h config.log config.status \
3030
vignettes/*.toc vignettes/*.tpt vignettes/*.xwm
3131

3232
rm -rf autom4te.cache inst/lib/ inst/doc/man/ inst/doc/html/ inst/doc/latex/ \
33-
inst/doc/auto inst/bib/auto inst/doc/Rcpp-*/auto/ src-* vignettes/auto
33+
inst/doc/auto inst/bib/auto inst/doc/Rcpp-*/auto/ src-* vignettes/auto
3434

3535
find . -name \*~ -exec rm {} \;
3636
find . -name \*.flc -exec rm {} \;
37+
38+
(cd vignettes/ && make clean && cd -)
39+
(cd vignettes/rmd/ && make clean && cd -)

0 commit comments

Comments
 (0)