Skip to content

Commit ee67485

Browse files
author
smeyer
committed
move down to avoid $< evaluating to FORCE in pdpmake
(the meaning of $< is unspecified for target rules) git-svn-id: https://svn.r-project.org/R/trunk@89140 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent a4b176c commit ee67485

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/Makefile.common

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ test-out = $(test-out-strict) $(test-out-sloppy) $(test-out-demo) $(test-out-gct
108108
.SUFFIXES:
109109
.SUFFIXES: .R .Rin .Rout .Rout-gct .Rout-valgct .trin .tsin .log
110110

111-
## This ensures "they" always re-run [a big WASTE for parallel make -j<n> !]
112-
$(test-out): FORCE
113-
114-
FORCE:
115-
116111
.Rin.R:
117112
@$(ECHO) "creating '$@'"
118113
@$(R) < $< > /dev/null
@@ -537,6 +532,10 @@ stamp-Packages2: $(PKG_ROBJECTS)
537532
--library="$(top_builddir)/library" RecPackages/$${p} > $@ 2>&1 || (cat $@ && exit 1)
538533
@cat $@
539534

535+
## This ensures that test scripts always re-run (at least in GNU make)
536+
$(test-out): FORCE
537+
FORCE:
538+
540539
INSTFILES = README \
541540
$(test-src-strict-1) $(test-src-strict-1:.R=.Rout.save) \
542541
$(test-src-sloppy-1) $(test-src-sloppy-1:.R=.Rout.save) \

0 commit comments

Comments
 (0)