freebsd_amp_hwpstate/gnu/usr.bin/groff/Makefile.dev

28 lines
537 B
Makefile

# @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
# Client Makefiles define DEVICE and FONTFILES and provide rules for
# individual font files
.include "../Makefile.cfg"
FONTDIR?= /usr/share/groff_font
DEVICEDIR?= $(FONTDIR)/dev$(DEVICE)
FONTOWN?= bin
FONTGRP?= bin
FONTMODE?= 444
all: $(FONTFILES)
.for f in $(FONTFILES)
.if exists($f)
beforeinstall: $f
.else
beforeinstall: $(.CURDIR)/$f
.endif
.endfor
beforeinstall:
$(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
${.ALLSRC} $(DESTDIR)$(DEVICEDIR)
.include <bsd.prog.mk>