42 lines
772 B
Makefile
42 lines
772 B
Makefile
# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
|
|
# $Id: Makefile.dev,v 1.18 1997/05/09 04:53:38 mycroft 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?= $(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)
|
|
FILES=${FONTFILES}
|
|
FILESDIR=${DEVICEDIR}
|
|
FILESOWN=${FONTOWN}
|
|
FILESGRP=${FONTGRP}
|
|
FILESMODE=${FONTMODE}
|
|
GENFILES=${FONTFILES:Mgenerate/*}
|
|
.for i in ${GENFILES}
|
|
FILESDIR_$i=${DEVICEDIR}/generate
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|