From 61c79b122e44f58607ac5f393bcf9b4a7a821178 Mon Sep 17 00:00:00 2001
From: sheldonh <sheldonh@FreeBSD.org>
Date: Mon, 20 Dec 1999 16:13:47 +0000
Subject: 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>
---
 bin/rm/Makefile | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'bin/rm/Makefile')

diff --git a/bin/rm/Makefile b/bin/rm/Makefile
index 45a5f23..dcdae17 100644
--- a/bin/rm/Makefile
+++ b/bin/rm/Makefile
@@ -4,6 +4,9 @@
 PROG=	rm
 SRCS=   rm.c stat_flags.c
 
+LINKS=	${BINDIR}/rm ${BINDIR}/unlink
+MLINKS=	rm.1 unlink.1
+
 .PATH: ${.CURDIR}/../ls
 
 .include <bsd.prog.mk>
-- 
cgit v1.1