0727d1b5ba
it possible to ``make all install'' in one pass.
18 lines
336 B
Makefile
18 lines
336 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.cfg"
|
|
|
|
FONTDIR?= /usr/share/groff_font
|
|
DEVICEDIR?= $(FONTDIR)/dev$(DEV)
|
|
FONTOWN?= ${BINOWN}
|
|
FONTGRP?= ${BINGRP}
|
|
FONTMODE?= ${NOBINMODE}
|
|
|
|
all: $(DEVFILES)
|
|
|
|
beforeinstall: ${DEVFILES}
|
|
${INSTALL} -c -o ${FONTOWN} -g ${FONTGRP} -m ${FONTMODE} \
|
|
${.ALLSRC} ${DESTDIR}${DEVICEDIR}
|
|
|
|
.include <bsd.prog.mk>
|