summaryrefslogtreecommitdiffstats
path: root/bin/ln/Makefile
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-12-20 16:13:47 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-12-20 16:13:47 +0000
commit61c79b122e44f58607ac5f393bcf9b4a7a821178 (patch)
treeed04b5fbbf6e1897e6a52c236a7e251ae7ef66c5 /bin/ln/Makefile
parentfb59e40253fef0113a40fb946389c81e296d4068 (diff)
downloadFreeBSD-src-61c79b122e44f58607ac5f393bcf9b4a7a821178.zip
FreeBSD-src-61c79b122e44f58607ac5f393bcf9b4a7a821178.tar.gz
Add link(1) and unlink(1) as special cases of ln(1) and rm(1)
respectively, in accordance with SUSv2. This differs from the approach taken in NetBSD, but provides less obscure error messages in at least the EISDIR case and does not take up additional disk space for new binaries. PR: 13071 PR: 13074 Requested by: James Howard <howardjp@wam.umd.edu>
Diffstat (limited to 'bin/ln/Makefile')
-rw-r--r--bin/ln/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ln/Makefile b/bin/ln/Makefile
index b177ea8..bfbcef8 100644
--- a/bin/ln/Makefile
+++ b/bin/ln/Makefile
@@ -5,4 +5,7 @@ PROG= ln
MAN1= ln.1
MAN7= symlink.7
+LINKS= ${BINDIR}/ln ${BINDIR}/link
+MLINKS= ln.1 link.1
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud