]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/usr.bin/groff/font/Makefile.dev
This commit was generated by cvs2svn to compensate for changes in r56545,
[FreeBSD/FreeBSD.git] / gnu / usr.bin / groff / font / Makefile.dev
1 #       @(#)Makefile.dev        6.2 (Berkeley) 3/16/91
2 # Client Makefiles define DEV and DEVFILES and provide rules for
3 # individual font files
4 #
5 # $FreeBSD$
6
7 .include "../Makefile.cfg"
8
9 FONTDIR?=       /usr/share/groff_font
10 DEVICEDIR?=     $(FONTDIR)/dev$(DEV)
11 FONTOWN?=       ${BINOWN}
12 FONTGRP?=       ${BINGRP}
13 FONTMODE?=      ${NOBINMODE}
14
15 all:    $(DEVFILES)
16
17 .for f in $(DEVFILES)
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)
26 .else
27 beforeinstall:: $(DIST_DIR)/$f
28         $(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
29                 $(DIST_DIR)/$f $(DESTDIR)$(DEVICEDIR)
30 .endif
31 .endfor
32
33 .include <bsd.prog.mk>