1 # @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
2 # Client Makefiles define DEV and DEVFILES and provide rules for
3 # individual font files
5 # $Id: Makefile.dev,v 2.4 1997/02/22 15:45:42 peter Exp $
7 .include "../Makefile.cfg"
9 FONTDIR?= /usr/share/groff_font
10 DEVICEDIR?= $(FONTDIR)/dev$(DEV)
13 FONTMODE?= ${NOBINMODE}
18 .if exists(${.OBJDIR}/$f)
19 beforeinstall:: ${.OBJDIR}/$f
20 $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
21 ${.OBJDIR}/$f $(DESTDIR)$(DEVICEDIR)
22 .elif exists(${.CURDIR}/$f)
23 beforeinstall:: ${.CURDIR}/$f
24 $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
25 ${.CURDIR}/$f $(DESTDIR)$(DEVICEDIR)
27 beforeinstall:: $(DIST_DIR)/$f
28 $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
29 $(DIST_DIR)/$f $(DESTDIR)$(DEVICEDIR)
33 .include <bsd.prog.mk>