Subject: Re: Ugly code in /usr/src/include/Makefile
To: None <arnej@dsl.unit.no>
From: Charles M. Hannum <mycroft@gnu.ai.mit.edu>
List: current-users
Date: 08/29/1994 00:53:14
Just a random suggestion: If it really is just netiso/xebec
that is the cause of the ugly code, then why not do:
find ${LDIRS} -type f -name '*.h' | \
grep -v netiso/xebec | \
cpio -pdvum ${DESTDIR}/usr/include
That's a good idea, though I decided to do it a little differently:
! pax -rw -pa -L \
! `find ${LDIRS} -type f -name '*.h' '!' -path 'netiso/xebec/*' \
! -print` ${DESTDIR}/usr/include
------------------------------------------------------------------------------