freebsd-dev/gnu/usr.bin/groff/Makefile.dev
Bruce Evans 9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00

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>