File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ include $(top_builddir)/Makeconf
1111
1212pkg = tools
1313
14+ WRE_DATA = $(top_builddir ) /library/$(pkg ) /misc/wre.txt
15+ WRE_SRC = $(top_srcdir ) /doc/manual/R-exts.texi
16+
1417RSRC = ` LC_COLLATE=C ls $( srcdir) /R/* .R `
1518
1619ifdef USE_LLVM
@@ -23,14 +26,19 @@ endif
2326all :
2427 @$(ECHO ) " building package '$( pkg) '"
2528 @$(MKINSTALLDIRS ) $(top_builddir ) /library/$(pkg )
26- @$(MAKE ) -f Makefile.win mkR1 mkdesc2 mksrc-win2
29+ @$(MKINSTALLDIRS ) $(top_builddir ) /library/$(pkg ) /misc
30+ @$(MAKE ) -f Makefile.win mkR1 mkdesc2 mksrc-win2 $(WRE_DATA )
2731 @if ! test $(top_builddir ) /library/$(pkg ) /R/$(pkg ) -nt all.R; then \
2832 $(INSTALL_DATA ) all.R $(top_builddir ) /library/$(pkg ) /R/$(pkg ) ; \
2933 fi
3034 @$(MAKE ) -f Makefile.win sysdata
3135 @$(ECHO ) " tools:::.install_package_description('.', '" $(top_builddir ) /library/${pkg} " ')" | \
3236 R_DEFAULT_PACKAGES=NULL $(R_EXE ) > /dev/null
3337
38+ # # avoid "$<" as that was empty when using bmake (tested 20200710 and 20241124)
39+ $(WRE_DATA ) : $(WRE_SRC )
40+ @grep -E ' ^@(api|eapi|emb|for)(fun|var|hdr)' " $( WRE_SRC) " > " $@ "
41+
3442include $(top_srcdir ) /share/make/basepkg.mk
3543
3644# # Note that R_COMPILER_SUPPRESS_ALL is now on by default
You can’t perform that action at this time.
0 commit comments