Don't overwrite old mv, ln, cp, etc man pages with new rm

This commit is contained in:
Antoine Leca 2012-01-19 10:12:55 +00:00 committed by Thomas Veerman
parent e894c9e1b5
commit 57794c6690
3 changed files with 10 additions and 29 deletions

View file

@ -1,3 +1,12 @@
20120119:
Follow up to previous entry. The same problem also exists for
the man pages.
Do this BEFORE a 'make world':
# rm /usr/man/man1/rm.1
# cp /usr/man/man1/cp.1 /usr/man/man1/rm.1
Then 'make clean world' as usual.
20120112:
Replace our native rm and rmdir with NetBSD version.

View file

@ -15,7 +15,7 @@ MAN= acd.1 anm.1 ar.1 ash.1 asize.1 at.1 banner.1 basename.1 \
mkproto.1 modem.1 mount.1 mt.1 nice.1 nm.1 nohup.1 od.1 \
paste.1 ping.1 playwave.1 postmort.1 pr.1 prep.1 \
profile.1 ps.1 pwd.1 rcp.1 readall.1 recwave.1 \
ref.1 remsync.1 rget.1 rlogin.1 rmdir.1 rsh.1 rz.1 \
ref.1 remsync.1 rget.1 rlogin.1 rsh.1 rz.1 \
shar.1 acksize.1 sleep.1 sort.1 spell.1 \
split.1 strip.1 stty.1 su.1 sum.1 svc.1 \
synctree.1 sysenv.1 sz.1 tail.1 tee.1 telnet.1 template.1 \
@ -54,7 +54,6 @@ MLINKS += ash.1 unset.1
MLINKS += ash.1 wait.1
MLINKS += compress.1 uncompress.1
MLINKS += cp.1 mv.1
MLINKS += cp.1 rm.1
MLINKS += cp.1 ln.1
MLINKS += cp.1 cpdir.1
MLINKS += elvis.1 ex.1

View file

@ -1,27 +0,0 @@
.TH RMDIR 1
.SH NAME
rmdir \- remove a directory
.SH SYNOPSIS
\fBrmdir \fIdirectory ...\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH EXAMPLES
.EX "rmdir /user/ast/foobar" "Remove directory \fIfoobar\fP"
.EX "rmdir /user/ast/f*" "Remove 0 or more directories"
.SH DESCRIPTION
.PP
The specified directories are removed.
Ordinary files are not removed.
The directories must be empty.
.SH "SEE ALSO"
.BR mkdir (1),
.BR rmdir (2).