Skip to content

Commit

Permalink
allow for sudirs in grDevices/tests
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@85745 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Dec 29, 2023
1 parent 326a022 commit d9edab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion share/make/basepkg.mk
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ mkfigs:
install-tests:
@if test -d tests; then \
mkdir -p $(top_builddir)/library/$(pkg)/tests; \
cp tests/* $(top_builddir)/library/$(pkg)/tests; \
cp -R tests/* $(top_builddir)/library/$(pkg)/tests; \
fi


Expand Down
4 changes: 1 addition & 3 deletions src/library/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ install-tests:
@for pkg in $(R_PKGS_BASE); do \
if test -d "$(srcdir)/$${pkg}/tests"; then \
$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)/library/$${pkg}/tests" ; \
for f in $(srcdir)/$${pkg}/tests/*; do \
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rhome)/library/$${pkg}/tests"; \
done; \
cp -R $(srcdir)/$${pkg}/tests/* "$(DESTDIR)$(rhome)/library/$${pkg}/tests"; \
fi; \
done
@USE_RECOMMENDED_PACKAGES_TRUE@ @(cd Recommended && $(MAKE) $@)
Expand Down

0 comments on commit d9edab8

Please sign in to comment.