summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-09-19 13:01:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-09-19 13:01:27 +0000
commite81a9c9e0d176ddff13fdd9665210998203d22a6 (patch)
tree4b060bcf4e2d8ce3e0e4db3383d9c902270afd1c
parentdc0d60441ea58fe28aeed9c627bd4150a570fe95 (diff)
install the 2 man pages on all architectures
-rw-r--r--usr.bin/Makefile10
-rw-r--r--usr.bin/ar/Makefile12
-rw-r--r--usr.bin/ranlib/Makefile12
3 files changed, 25 insertions, 9 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 9d4ec920890..4a8a175068b 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.96 2005/08/08 05:52:59 espie Exp $
+# $OpenBSD: Makefile,v 1.97 2005/09/19 13:01:26 deraadt Exp $
.include <bsd.own.mk>
-SUBDIR= apply apropos arch asa asn1_compile at aucat audioctl awk banner \
+SUBDIR= apply apropos ar arch asa asn1_compile at aucat audioctl awk banner \
basename bc bdes \
biff cal calendar cap_mkdb cdio checknr chpass cmp col \
colcrt colrm column comm compile_et compress cpp crontab ctags cut \
@@ -15,8 +15,8 @@ SUBDIR= apply apropos arch asa asn1_compile at aucat audioctl awk banner \
midiplay mixerctl mkdep mklocale mkstr mktemp modstat msgs nc netstat \
newsyslog \
nfsstat nice nm nohup oldrdist pagesize passwd paste patch pctr pkill \
- pmdb pr printenv printf quota radioctl rdist rdistd readlink renice \
- rev rpcgen rpcinfo rs rsh \
+ pmdb pr printenv printf quota radioctl ranlib rdist rdistd readlink \
+ renice rev rpcgen rpcinfo rs rsh \
rup ruptime rusers rwall rwho script sectok sed shar showmount skey \
skeyaudit skeyinfo skeyinit sort spell split ssh stat su sup systat \
sudo tail talk tcopy tee telnet tftp tic time tip tn3270 top touch \
@@ -31,7 +31,7 @@ SUBDIR+=ypcat ypmatch ypwhich
.endif
.if (${ELF_TOOLCHAIN:L} == "no")
-SUBDIR+= ar ranlib strip strings
+SUBDIR+= strip strings
.endif
.if make(clean) || make(cleandir) || make(obj)
diff --git a/usr.bin/ar/Makefile b/usr.bin/ar/Makefile
index a759278e217..d605cafea12 100644
--- a/usr.bin/ar/Makefile
+++ b/usr.bin/ar/Makefile
@@ -1,9 +1,17 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:19 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 2005/09/19 13:01:26 deraadt Exp $
+.include <bsd.own.mk>
+
+.if (${ELF_TOOLCHAIN:L} == "no")
PROG= ar
CFLAGS+=-I${.CURDIR}
SRCS= append.c ar.c archive.c contents.c delete.c extract.c misc.c \
move.c print.c replace.c
-MAN= ar.1 ar.5
+MAN= ar.1
+.else
+NOPROG=
+.endif
+
+MAN+= ar.5
.include <bsd.prog.mk>
diff --git a/usr.bin/ranlib/Makefile b/usr.bin/ranlib/Makefile
index e040bec3bb7..2cc07f10dea 100644
--- a/usr.bin/ranlib/Makefile
+++ b/usr.bin/ranlib/Makefile
@@ -1,9 +1,17 @@
-# $OpenBSD: Makefile,v 1.3 1999/05/10 16:14:07 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2005/09/19 13:01:26 deraadt Exp $
+.include <bsd.own.mk>
+
+.if (${ELF_TOOLCHAIN:L} == "no")
PROG= ranlib
SRCS= archive.c build.c misc.c ranlib.c touch.c
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../ar -I${.CURDIR}/../nm
-MAN= ranlib.1 ranlib.5
+MAN= ranlib.1
VPATH= ${.CURDIR}/../ar
+.else
+NOPROG=
+.endif
+
+MAN+= ranlib.5
.include <bsd.prog.mk>