From owner-freebsd-hackers Wed Apr 5 04:54:20 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA17961 for hackers-outgoing; Wed, 5 Apr 1995 04:54:20 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA17947 for ; Wed, 5 Apr 1995 04:53:50 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id VAA17966; Wed, 5 Apr 1995 21:52:15 +1000 Date: Wed, 5 Apr 1995 21:52:15 +1000 From: Bruce Evans Message-Id: <199504051152.VAA17966@godzilla.zeta.org.au> To: freebsd-hackers@freefall.cdrom.com, kargl@troutmask.apl.washington.edu Subject: Re: new install(1) utility Sender: hackers-owner@FreeBSD.org Precedence: bulk >I've rewritten install(1) to include the following options: >(1) -S -- Symlink are created instead of moving (copying) the file. >(2) -t -- Preserve the timestamp of the source file on target file. I'd like these options: -T -- If source data == target data, then preserve target timestamp. Otherwise do the same as -t. This is useful for avoiding changing target timestamps that other things depend on. E.g., for header files, the target timestamp should normally be preserved if possible. -F -- if source timestamp == target timestamp, then do nothing. Otherwise do a full install and print a warning giving the source and target timestamps. This is useful for rerunning `make install' on a large tree soon after you've done a full install. E.g., immediately after installing with -t it would tell you if everything got installed with the correct timestamps; immediately after installing with -T it would tell you if there are too many or too old targets; a little later, after rebuilding a few scattered targets, you might want to reinstall the whole tree to avoid missing anything, and -F should be faster. Perhaps there should be options: --timestamp-greatest -- set target timestamp to max(source, target) timestamps. --timestamp-smallest -- if source data == target data, then set target timestamp to min(source, target) timestamps. Otherwise do the same as -t. -n -- don't actually install, but print what would be done without -n. Bruce