blob: aee4e97154753284bf5f5b640bb9a933fbadef24 (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
# $Id: Makefile.dev,v 1.11 1993/08/15 19:14:59 mycroft Exp $
# Client Makefiles define DEVICE and FONTFILES and provide rules for
# individual font files
.include "../../Makefile.cfg"
# XXX -- this depends on ../include/defs.h
FONTDIR= /usr/share/groff_font
DEVICEDIR?= $(DESTDIR)$(FONTDIR)/dev$(DEVICE)
FONTOWN?= bin
FONTGRP?= bin
FONTMODE?= 444
.MAIN: all
all: $(FONTFILES)
.if !target(clean)
clean cleandir:
-rm -f $(FONTFILES)
.else
COPY= -c
.endif
.if !target(install)
install:
install -d -o $(BINOWN) -g $(BINGRP) -m 755 $(DEVICEDIR)
.if exists(${.CURDIR}/generate)
install -d -o $(BINOWN) -g $(BINGRP) -m 755 $(DEVICEDIR)/generate
.endif
-for f in $(FONTFILES); do \
install ${COPY} -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) $$f \
$(DEVICEDIR)/$$f; \
done
.endif
.include <bsd.prog.mk>
|