search for: forceonce

Displaying 1 result from an estimated 1 matches for "forceonce".

2009 Apr 09
0
how to add a target to the Make that R CMD check uses for running tests?
...iding-Makefiles.html # but with more levels of protection to avoid calling make with # the target 'all-Rt' more than once, because this makefile is # read many times. Condition on DONEFORCE being not defined # to avoid infinite recursion. ifeq ($(strip $(DONEFORCE)),) %: force @(if [ ! -f forceonce ] ; then \ $(MAKE) -f $(R_SHARE_DIR)/make/$(RSHAREMAKEFILE) $(makevars) -f $(MAINTESTMAKE) DONEFORCE=TRUE all-Rt ; \ fi ) @touch forceonce force: ; endif This code causes 'make' to be called just once with the target 'all-Rt', using appropriate settings for RSHAREMAKEFILE (eith...