From leydold at statmath.wu-wien.ac.at  Tue Dec  9 15:04:07 2008
From: leydold at statmath.wu-wien.ac.at (Josef Leydold)
Date: Tue, 9 Dec 2008 15:04:07 +0100
Subject: [Rd] Warning from R CMD build
In-Reply-To: <mailman.17.1228647604.539.r-devel@r-project.org>
References: <mailman.17.1228647604.539.r-devel@r-project.org>
Message-ID: <20081209140406.GA8869@essek.stat-math.wu-wien.ac.at>

Hi,

I wonder about the reason for the following lines:

$ diff ~/local/lib64/R/bin/build /usr/lib64/R/bin/build 
40c40
< my $revision = ' $Rev: 46832 $ ';
---
> my $revision = ' $Rev: 45803 $ ';
576,579d570
<               if(-r "Makevars") {
<                   $makefiles .= " -f Makevars";
<                   R_system("${R::Vars::MAKE} $makefiles clean");
<               }

it produces a warning like

$ R-devel CMD build Runuran

[...]
* DONE (Runuran)
* creating vignettes ... OK
* cleaning src
make: *** No rule to make target `clean'.  Stop.
* running cleanup
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'Runuran_0.8.900.tar.gz'


"Writing R Extensions" however says:

Note that @file{Makevars} should not normally contain targets, as it is
(except on Windows) included before the default makefile and
@command{make}
is called without an explicit target. 


Josef



[Rd] Warning from R CMD build
Josef Leydold