Use cat(1) instead of cp(1) so as not to break -DNOCLEAN builds

when the file permissions of source files don't allow writing.
This commit is contained in:
Marcel Moolenaar 2003-06-06 05:38:09 +00:00
parent b0bd5f38a6
commit 1eb3be492d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115886

View File

@ -13,14 +13,14 @@ CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
.SUFFIXES: .master
i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master
cp ${.ALLSRC} i386l-syscalls.master
cat ${.ALLSRC} > i386l-syscalls.master
linux_syscalls.h: i386l-syscalls.master
/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
${.CURDIR}/i386linux.conf
syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
cp ${.ALLSRC} syscalls.master
cat ${.ALLSRC} > syscalls.master
syscalls.h: syscalls.master
/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \