From owner-freebsd-current Sun Aug 17 14:20:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA23263 for current-outgoing; Sun, 17 Aug 1997 14:20:56 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA23244 for ; Sun, 17 Aug 1997 14:20:53 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA22975; Sun, 17 Aug 1997 23:20:51 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id XAA06691; Sun, 17 Aug 1997 23:08:30 +0200 (MET DST) Message-ID: <19970817230830.SD08858@uriah.heep.sax.de> Date: Sun, 17 Aug 1997 23:08:30 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-current@FreeBSD.ORG Cc: ejon@pencom.com (Eric Jones) Subject: Re: include Makefile - am I the only one having trouble with this? References: <33F75CCA.99CEA3A@pencom.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <33F75CCA.99CEA3A@pencom.com>; from Eric Jones on Aug 17, 1997 16:19:22 -0400 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Eric Jones wrote: > It looks to me like the SRCDIR/include makefile is building > osreldate.h into ${.CURDIR}, but the install occurs from > ${.CURDIR}/rpc. Did everybody else just stuff a copy of osreldate.h > into include/rpc? If this happens, your make(1) would be royally screwed. > cd ${.CURDIR}/rpc; \ > ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ > ${RPCFILES} ${DESTDIR}/usr/include/rpc > ! cd ${.CURDIR}; \ > ! ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 > osreldate.h \ > ${DESTDIR}/usr/include Note that these are two different shell command lines, each of them is being passed down to (in effect) on call to sh -c. Naturally, the chdir to ${.CURDIR}/rpc is only in effect for the first command, the second one starts over with the default directory (/usr/obj/...). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)