Subject: new flag for install
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Michael L. VanLoon -- Iowa State University <michaelv@iastate.edu>
List: current-users
Date: 01/09/1994 01:52:44
FYI, I got tired of having my entire source tree relink every time I
reinstalled the libs, even if the libs hadn't changed.  The
modification time of a file that install installs is the time of when
it was copied, regardless if the original file hasn't changed in 10
years.  So, if you redid a "make install" in the src/lib dir, even if
nothing changed, it looked to make like all your libs had been
updated.

So, I added code and a flag to install: -p, for preserve
access/modification time/dates of the file(s) being installed.  If you
use the -p flag, the installed file gets the same access and
modification time/date as the file it copied it from (or moved, if you
don't use -c).

If you think this is useless featuritis, just delete this message and
go on with your life.  But, if you think this would be a valuable
addition to your sources, lemme know and I'll post a patch for
install.

If you want to make this work for the NetBSD current builds, note that
you'll have to add the -p flag to all the instances of "install" in
the share/mk and src/share/mk files (or I suppose building under
[t]csh with "alias install install -p" would also work).

				--Michael

------------------------------------------------------------------------------
    Michael L. VanLoon  --  michaelv@iastate.edu  --  gg.mlv@isumvs.bitnet
 Iowa State University of Science and Technology -- The way cool place to be!
   Project Vincent Systems Staff, Iowa State University Computation Center
------------------------------------------------------------------------------



------------------------------------------------------------------------------