dc3c30d9be
source directory. Don't create target directories at install time. mtree already handles them correctly.
31 lines
596 B
Makefile
31 lines
596 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>
|