1995-01-15 08:30:25 +00:00
|
|
|
# @(#)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)
|
|
|
|
|
1995-10-21 16:26:38 +00:00
|
|
|
.for f in $(FONTFILES)
|
|
|
|
.if exists($f)
|
|
|
|
beforeinstall: $f
|
|
|
|
.else
|
|
|
|
beforeinstall: $(.CURDIR)/$f
|
1995-01-15 08:30:25 +00:00
|
|
|
.endif
|
1995-10-21 16:26:38 +00:00
|
|
|
.endfor
|
|
|
|
beforeinstall:
|
|
|
|
$(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
|
|
|
|
${.ALLSRC} $(DESTDIR)$(DEVICEDIR)
|
1995-01-15 08:30:25 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|