From Friedrich.Leisch at ci.tuwien.ac.at  Mon Sep 22 14:08:06 2003
From: Friedrich.Leisch at ci.tuwien.ac.at (Friedrich.Leisch@ci.tuwien.ac.at)
Date: Mon Sep 22 13:07:23 2003
Subject: [Rd] grep in version 1.8 (PR#4231)
In-Reply-To: <90itmv0o3diihv1v6r2e1f0tpc367r9qt0@4ax.com>
References: <200309210923.h8L9NvJH009422@pubhealth.ku.dk>
	<647smv8672sqfs965mh2pe290onaqs0r5f@4ax.com>
	<200309211658.10090.deepayan@stat.wisc.edu>
	<90itmv0o3diihv1v6r2e1f0tpc367r9qt0@4ax.com>
Message-ID: <16238.55318.838645.545894@galadriel.ci.tuwien.ac.at>

>>>>> On Mon, 22 Sep 2003 06:07:00 -0400,
>>>>> Duncan Murdoch (DM) wrote:

  > On Sun, 21 Sep 2003 16:58:10 -0500, you wrote:
  >> On Sunday 21 September 2003 16:50, Duncan Murdoch wrote:
  >>> On Sun, 21 Sep 2003 11:23:57 +0200 (MET DST), you wrote:
  >>> >This is not a bug! It works when compiling from clean sources.
  >>> >
  >>> >I guess you have unpacked new sources over old sources? Please clean the
  >>> >directory before unpacking a new version, and try to compile again. A
  >>> >couple of us ran in the same problem during the last weeks.
  >>> 
  >>> I don't know if this is what happened here, but this kind of thing
  >>> also happens when using rsync, not just when unpacking tarballs:
  >>> rsync won't delete obsolete files.  Anonymous cvs wouldn't have this
  >>> problem.
  >> 
  >> rsync should delete files if you give the --delete flag

  > Yes, but then you end up doing a clean build, because it will also
  > delete the *.o files, etc.  I don't think there's a concept of
  > deleting files that were there yesterday but aren't there today.

Yes, there is:

1) Use the --delete flag when updating the sources
2) Use a build directory that is different from your source tree, that
   way rsync will never see the *.o et al files.

-- 
-------------------------------------------------------------------
                        Friedrich Leisch 
Institut f?r Statistik                     Tel: (+43 1) 58801 10715
Technische Universit?t Wien                Fax: (+43 1) 58801 10798
Wiedner Hauptstra?e 8-10/1071      Friedrich.Leisch@ci.tuwien.ac.at
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch


[Rd] grep in version 1.8 (PR#4231)
Friedrich.Leisch@ci.tuwien.ac.at