NetBSD/gnu/usr.bin/groff/devices/Makefile.dev
cgd 1a1b1466cb kill bogus install -d's. for those that are appropriate (libg++),
make owner and mode explicit, to make the mtree files.
1994-02-10 02:17:56 +00:00

38 lines
715 B
Makefile

# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
# $Id: Makefile.dev,v 1.13 1994/02/10 02:18:06 cgd Exp $
# Client Makefiles define DEVICE and FONTFILES and provide rules for
# individual font files
DEVICES_=no_libraries
.include "../../Makefile.cfg"
# XXX -- this depends on ../include/defs.h
FONTDIR= /usr/share/groff_font
DEVICEDIR?= $(DESTDIR)$(FONTDIR)/dev$(DEVICE)
FONTOWN?= bin
FONTGRP?= bin
FONTMODE?= 444
.MAIN: all
all: $(FONTFILES)
.if !target(clean)
clean cleandir:
-rm -f $(FONTFILES)
.else
COPY= -c
.endif
.if !target(install)
install:
-for f in $(FONTFILES); do \
install ${COPY} -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) $$f \
$(DEVICEDIR)/$$f; \
done
.endif
.include <bsd.prog.mk>