1996-09-08 01:27:58 +00:00
|
|
|
# @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
|
|
|
|
# Client Makefiles define DEV and DEVFILES and provide rules for
|
|
|
|
# individual font files
|
|
|
|
#
|
1997-12-17 12:04:53 +00:00
|
|
|
# $Id: Makefile.dev,v 2.4 1997/02/22 15:45:42 peter Exp $
|
1996-09-08 01:27:58 +00:00
|
|
|
|
|
|
|
.include "../Makefile.cfg"
|
|
|
|
|
|
|
|
FONTDIR?= /usr/share/groff_font
|
|
|
|
DEVICEDIR?= $(FONTDIR)/dev$(DEV)
|
1997-12-17 12:04:53 +00:00
|
|
|
FONTOWN?= ${BINOWN}
|
|
|
|
FONTGRP?= ${BINGRP}
|
|
|
|
FONTMODE?= ${NOBINMODE}
|
1996-09-08 01:27:58 +00:00
|
|
|
|
|
|
|
all: $(DEVFILES)
|
|
|
|
|
|
|
|
.for f in $(DEVFILES)
|
|
|
|
.if exists(${.OBJDIR}/$f)
|
|
|
|
beforeinstall:: ${.OBJDIR}/$f
|
|
|
|
$(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
|
|
|
|
${.OBJDIR}/$f $(DESTDIR)$(DEVICEDIR)
|
|
|
|
.elif exists(${.CURDIR}/$f)
|
|
|
|
beforeinstall:: ${.CURDIR}/$f
|
|
|
|
$(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
|
|
|
|
${.CURDIR}/$f $(DESTDIR)$(DEVICEDIR)
|
|
|
|
.else
|
1996-09-09 18:05:29 +00:00
|
|
|
beforeinstall:: $(DIST_DIR)/$f
|
1996-09-08 01:27:58 +00:00
|
|
|
$(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
|
1996-09-09 18:05:29 +00:00
|
|
|
$(DIST_DIR)/$f $(DESTDIR)$(DEVICEDIR)
|
1996-09-08 01:27:58 +00:00
|
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|