summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-06-06 13:46:55 +0000
committerkuriyama <kuriyama@FreeBSD.org>2003-06-06 13:46:55 +0000
commitf0a040c72b8815658ec48ee53b31b22a37ad5087 (patch)
tree105031d796a987b6ae19ac2274544ddf8fed1447 /usr.bin
parent5277e2870bb549d615e847a5b5efaac1dfed4223 (diff)
downloadFreeBSD-src-f0a040c72b8815658ec48ee53b31b22a37ad5087.zip
FreeBSD-src-f0a040c72b8815658ec48ee53b31b22a37ad5087.tar.gz
Use
cat ${.ALLSRC} > ${.TARGET} rather than ln -sf ${.ALLSRC} ${.TARGET} not to depends on absolute-path of symbolic links. Commented by: marcel, obrien, bde
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/awk/Makefile2
-rw-r--r--usr.bin/less/Makefile.common2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index ffc5e68..1d3642b 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -27,6 +27,6 @@ maketab: ytab.h ${AWKSRC}/maketab.c
CLEANFILES+= nawk.1
nawk.1: awk.1
- ln -sf ${.ALLSRC} ${.TARGET}
+ cat ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>
diff --git a/usr.bin/less/Makefile.common b/usr.bin/less/Makefile.common
index 6b3b62b..fcc6ccf 100644
--- a/usr.bin/less/Makefile.common
+++ b/usr.bin/less/Makefile.common
@@ -8,4 +8,4 @@ CFLAGS+=-I${.CURDIR}/../less -I${LSDIR}
.SUFFIXES: .nro .1
.nro.1:
- ln -s ${.IMPSRC} ${.TARGET}
+ cat ${.IMPSRC} > ${.TARGET}
OpenPOWER on IntegriCloud