blob: 2aa71f87e11671482ad618c4231b1b885270132a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# @(#)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>
|