NetBSD/sbin/disklabel/Makefile

31 lines
769 B
Makefile
Raw Normal View History

1993-03-21 12:45:37 +03:00
# @(#)Makefile 5.6 (Berkeley) 4/1/91
1993-03-22 11:04:00 +03:00
#
1993-04-25 10:58:16 +04:00
# $Header: /cvsroot/src/sbin/disklabel/Makefile,v 1.5 1993/04/25 06:58:16 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-03-21 12:45:37 +03:00
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} disklabel.5.0 \
${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>