diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-07-13 09:57:34 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-07-13 09:57:34 +0000 |
commit | 5e92b09f4fb9c50cc079f4b0e541273a00ae537f (patch) | |
tree | 7165ac5830cc1a485f9b873e5c5365cc9244e8e1 /include | |
parent | d0a25995fc9b46041954f7738efc4998260d719d (diff) | |
download | src-5e92b09f4fb9c50cc079f4b0e541273a00ae537f.tar.gz src-5e92b09f4fb9c50cc079f4b0e541273a00ae537f.zip |
Notes
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/Makefile b/include/Makefile index da1e06b31454..edde8c330b2f 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.2 (Berkeley) 1/4/94 -# $Id: Makefile,v 1.24 1995/03/26 10:12:51 jkh Exp $ +# $Id: Makefile,v 1.25 1995/03/30 12:47:55 jkh Exp $ # # Doing a make install builds /usr/include # @@ -41,7 +41,8 @@ SHARED?= symlinks OSREL = ${DESTDIR}/usr/include/osreldate.h beforeinstall: ${SHARED} @${ECHO} installing ${FILES} - @-for i in ${FILES}; do \ + @cd ${.CURDIR}; \ + for i in ${FILES}; do \ cmp -s $$i ${DESTDIR}/usr/include/$$i || \ install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \ ${DESTDIR}/usr/include/$$i; \ @@ -71,7 +72,7 @@ beforeinstall: ${SHARED} fi; \ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \ chmod 755 ${DESTDIR}/usr/include/$$i; \ - (cd $$i; for j in *.[ih]; do \ + (cd ${.CURDIR}/$$i; for j in *.[ih]; do \ cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \ install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \ ${DESTDIR}/usr/include/$$i/$$j; \ @@ -97,7 +98,7 @@ copies: @-for i in ${LDIRS} ${UDIRS}; do \ ${ECHO} ${SHARED} $$i; \ rm -rf ${DESTDIR}/usr/include/$$i; \ - cd ../sys; \ + cd ${.CURDIR}/../sys; \ tar cf - $$i/*.h | \ (cd ${DESTDIR}/usr/include; tar xpfB -); \ chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i;\ @@ -106,7 +107,7 @@ copies: done rm -rf ${DESTDIR}/usr/include/machine mkdir ${DESTDIR}/usr/include/machine - cd ../sys/${MACHINE}/include && \ + cd ${.CURDIR}/../sys/${MACHINE}/include && \ tar cf - *.h | (cd ${DESTDIR}/usr/include/machine; tar xpfB -); chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/machine; chmod -R 444 ${DESTDIR}/usr/include/machine; |