From owner-freebsd-hackers Tue Apr 4 17:20:43 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA27337 for hackers-outgoing; Tue, 4 Apr 1995 17:20:43 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id RAA27331 for ; Tue, 4 Apr 1995 17:20:41 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA23162; Tue, 4 Apr 95 18:13:39 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9504050013.AA23162@cs.weber.edu> Subject: Re: new install(1) utility To: kargl@troutmask.apl.washington.edu (Steven G Kargl) Date: Tue, 4 Apr 95 18:13:39 MDT Cc: julian@tfs.com, nate@trout.sri.MT.net, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199504042356.QAA07493@troutmask.apl.washington.edu> from "Steven G Kargl" at Apr 4, 95 04:56:58 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@FreeBSD.org Precedence: bulk > > but if the Makefiles didn't see a reason to update it, then it would > > be untouched and the same thing would result. > > what we want is a make rule for X/a -> B/a > > (i.e. just moving a file) > > not to mention the trouble we have at the moment with > > man pages and that #$%^# gzip.. > > > > Are you talking about disk space consumption or the time for > `make world' to complete because of gzip *.1 etc? I think he is talking about the auto formating-then-gzipping of man pages by the man system because it thinks a newly installed man page which isn't really new is newer than the preformatted copy because the date is not preserved on the install. Which begs the questions of: 1) Why was it installed if the "target" file was the same or newer than the source file? and 2) If the dependency wasn't checked, why was it installed with "install" instead of "cp -p", which would have preserved the date and prevented it from appearing to need to be updated in the first place? The header file argument is that because we build the header file intermediate directory using various source locations for header files and [incorrectly] do not preserve the date, then we need to compare with the installed headers because when we installed then from the intermediate directory, we [again] did not preserve the date. The problem being that install is being used to move the files instead of "cp -p" (or tar or cpio or *whatever*) for absolutely no good reason, and install without mods *won't* preserve the dates. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.