9c0dc173cc
specified in the top level Makefiles.
31 lines
599 B
Makefile
31 lines
599 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)
|
|
|
|
.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>
|