From owner-freebsd-hackers Tue Apr 4 16:39:33 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA26512 for hackers-outgoing; Tue, 4 Apr 1995 16:39:33 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA26503 for ; Tue, 4 Apr 1995 16:39:20 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id PAA08762; Tue, 4 Apr 1995 15:38:27 -0700 From: "Rodney W. Grimes" Message-Id: <199504042238.PAA08762@gndrsh.aac.dev.com> Subject: Re: new install(1) utility To: terry@cs.weber.edu (Terry Lambert) Date: Tue, 4 Apr 1995 15:38:27 -0700 (PDT) Cc: nate@trout.sri.MT.net, kargl@troutmask.apl.washington.edu, freebsd-hackers@freefall.cdrom.com In-Reply-To: <9504042306.AA21122@cs.weber.edu> from "Terry Lambert" at Apr 4, 95 05:06:07 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1265 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > > You happened to have picked a bad example. There are include files > > that this holds true for, and that is due not really having good > > support in the *.mk files for a includes: rule. I would rather > > see the above type of thing folded into the .mk files and not > > muck with the install binary. > > Exactly; it's an issue of not doing the wrong thing because you > have a dependency which stops you before you screw up. > > > > It has nothing to do with make-like dependency capabilities. With the > > > addition of that option, install now determines if it really needs to > > > install the files rather than blindly doing it no matter what. > > > > I think Terry means this: > > > > ${DESTDIR}${BINDIR}${PROG}: ${.OBJDIR}/${PROG} > > install ${COPY} ${STRIP} -m ${BINMODE} -o ${BINOWN} -g ${GINGRP} \ > > ${PROG} ${DESTDIR}${BINDIR} > > > > install: ${DESTDIR}${BINDIR}${PROG} > > Much cleaner than what I was thinking! Thank you! Okay, I'll play with this a little and see if technically this can be made to work. I will not have the time to do a full implementation though. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD