summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-06-06 05:38:09 +0000
committermarcel <marcel@FreeBSD.org>2003-06-06 05:38:09 +0000
commita7ad93e446c2e32af58a664874614f17eb031896 (patch)
treebf0fa0f91b1ca79c45a1e99e21084d0429290608 /usr.bin/truss
parent9a8a455a6a40bd0f5b70e3d3a8bdbf6f4eaaebf5 (diff)
downloadFreeBSD-src-a7ad93e446c2e32af58a664874614f17eb031896.zip
FreeBSD-src-a7ad93e446c2e32af58a664874614f17eb031896.tar.gz
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.
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile
index c5b0d7a..2803899 100644
--- a/usr.bin/truss/Makefile
+++ b/usr.bin/truss/Makefile
@@ -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 \
OpenPOWER on IntegriCloud