freebsd-dev/gnu/usr.bin/groff/Makefile.dev
Bruce Evans dc3c30d9be Look for files to install first in the object directory, then in the
source directory.

Don't create target directories at install time.  mtree already handles
them correctly.
1995-02-02 17:44:02 +00:00

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>