From 0ab105eaf23a93684f16eed35b0c3b0e9e6b2217 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 8 Mar 2003 08:57:56 +0000 Subject: Don't copy headers from the source tree to the object tree without making sure the copies in the object tree are writable. When files in the source tree are not writable (as would be the case for a p4 tree) then a buildworld -DNOCLEAN will try to copy over the existing non-writable headers. This fails. Instead we cat the headers with redirection. This is just one of the possibilities. --- kerberos5/usr.sbin/ktutil/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kerberos5/usr.sbin') diff --git a/kerberos5/usr.sbin/ktutil/Makefile b/kerberos5/usr.sbin/ktutil/Makefile index 5c7455e7f503a..a07663e3233d7 100644 --- a/kerberos5/usr.sbin/ktutil/Makefile +++ b/kerberos5/usr.sbin/ktutil/Makefile @@ -46,10 +46,10 @@ MAN= ktutil.8 .PATH: ${KRB5DIR}/admin kadm5/private.h: kadm5 - cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET} + cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET} kadm5/admin.h: kadm5 - cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET} + cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET} kadm5/kadm5_err.h: kadm5 kadm5_err.h cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h -- cgit v1.2.3