From ripley at stats.ox.ac.uk  Tue Dec  9 22:48:01 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 9 Dec 2008 21:48:01 +0000 (GMT)
Subject: [Rd] Warning from R CMD build
In-Reply-To: <20081209140406.GA8869@essek.stat-math.wu-wien.ac.at>
References: <mailman.17.1228647604.539.r-devel@r-project.org>
	<20081209140406.GA8869@essek.stat-math.wu-wien.ac.at>
Message-ID: <alpine.LFD.2.00.0812092143150.20779@gannet.stats.ox.ac.uk>

The message (it is not even a warning) is harmless. The change is 
documented in the NEWS file, and is useful for some packages (Matrix as I 
recall).

On Tue, 9 Dec 2008, Josef Leydold wrote:

> 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.

Note 'normally'.

>
> Josef
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Warning from R CMD build
Prof Brian Ripley