Subject: Re: DESTDIR vs. beforeinstall - Battle of the Titans
To: None <earle@isolar.Tujunga.CA.US>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 05/22/1996 13:48:55
>Date: Tue, 21 May 1996 20:55:02 -0700
>From: Greg Earle <earle@isolar.Tujunga.CA.US>

[kerberos build disagrees with use of DESTDIR]

>This is because /usr/src/domestic/lib/{libkadm,libkrb,libss}/Makefile all
>contain essentially
>
>beforeinstall:
>	-cd ${.OBJDIR}; cmp -s {kadm,krb,ss}_err.h \
>	    ${DESTDIR}/usr/include/kerberosIV/{kadm,krb,ss}_err.h || \
>	    install -c -o ${BINOWN} -g ${BINGRP} -m 444 {kadm,krb,ss}_err.h \
>	    ${DESTDIR}/usr/include/kerberosIV

>Is there some way of changing things so that these 3 include files
>are installed into ${DESTDIR}/usr/include/kerberosIV first, ...

Replace the beforeinstall: targets with the new includes: target.
This change should be made for all Makefiles under src/domestic that
install headers into $DESTDIR/usr/include.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil