freebsd-dev/gnu/usr.bin/groff/Makefile.dev
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00

34 lines
811 B
Makefile

# @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
# Client Makefiles define DEV and DEVFILES and provide rules for
# individual font files
#
# $FreeBSD$
.include "../Makefile.cfg"
FONTDIR?= /usr/share/groff_font
DEVICEDIR?= $(FONTDIR)/dev$(DEV)
FONTOWN?= bin
FONTGRP?= bin
FONTMODE?= 444
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
beforeinstall:: $(DIST_DIR)/$f
$(INSTALL) -c -o $(FONTOWN) -g $(FONTGRP) -m $(FONTMODE) \
$(DIST_DIR)/$f $(DESTDIR)$(DEVICEDIR)
.endif
.endfor
.include <bsd.prog.mk>