NetBSD/sbin/disklabel/Makefile

30 lines
746 B
Makefile
Raw Normal View History

1993-08-01 09:37:30 +04:00
# from: @(#)Makefile 5.6 (Berkeley) 4/1/91
# $Id: Makefile,v 1.7 1993/08/01 05:38:22 mycroft Exp $
1993-03-21 12:45:37 +03:00
PROG= disklabel
SRCS= disklabel.c dkcksum.c
MAN8= disklabel.0
BINGRP=operator
BINMODE=2550
CLEANFILES=disklabel.5.0
1993-04-25 10:58:16 +04:00
.if !defined(NOMAN)
1993-03-21 12:45:37 +03:00
all: disklabel.5.0
1993-04-25 10:58:16 +04:00
.endif
1993-03-21 12:45:37 +03:00
beforeinstall:
@if [ ! -d ${DESTDIR}${MANDIR}5 ]; then \
/bin/rm -f ${DESTDIR}${MANDIR}5 ; \
mkdir -p ${DESTDIR}${MANDIR}5 ; \
chown root.wheel ${DESTDIR}${MANDIR}5 ; \
chmod 755 ${DESTDIR}${MANDIR}5 ; \
else \
true ; \
fi
1993-04-25 10:58:16 +04:00
.if !defined(NOMAN)
1993-07-18 23:17:22 +04:00
install ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} disklabel.5.0 \
1993-03-21 12:45:37 +03:00
${DESTDIR}${MANDIR}5/disklabel.0
1993-04-25 10:58:16 +04:00
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>