We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135a62c commit 2d5852aCopy full SHA for 2d5852a
src/Makevars.win
@@ -15,11 +15,13 @@ PKG_LIBS += \
15
all: clean winlibs
16
17
clean:
18
- powershell -Command "Remove-Item -Force -Recurse $(OBJECTS), $(SHLIB)"
+ rm -Rf $(OBJECTS) $(SHLIB)
19
20
winlibs:
21
- "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "../tools/winlibs.R"
22
- powershell -Command "Remove-Item -Force -Recurse ../inst/share; New-Item -ItemType Directory ../inst/share"
+ mkdir -p ../inst
+ "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "../tools/winlibs.R" ${VERSION}
23
+ cp -Rf ../windows/tessdata ../inst/
24
+ cp -Rf ${RWINLIB}/share/tessdata ../inst/
25
26
.PHONY: all winlibs clean
27
0 commit comments