summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/Makefile.dev
blob: 36c3f30a526eeb7d6aa6218eb2217754877be193 (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
#	@(#)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)

.if !target(maninstall)
maninstall:
	@echo -n
.endif

.if !target(install)
install:
	for f in $(FONTFILES); do \
		ff=$$f; test -f $$f || ff=${.CURDIR}/$$f || true; \
		$(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) $$ff \
			$(DESTDIR)$(DEVICEDIR)/$$f; \
	done
.endif

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud