NetBSD/gnu/usr.bin/groff/devices/Makefile.dev

39 lines
747 B
Makefile

# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
# $NetBSD: Makefile.dev,v 1.21 1998/09/05 14:57:41 lukem 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?= ${FILESOWN}
FONTGRP?= ${FILESGRP}
FONTMODE?= ${FILESMODE}
.MAIN: all
all: $(FONTFILES)
.if !target(clean)
clean cleandir distclean:
-rm -f $(FONTFILES)
.else
COPY= -c
.endif
.if !target(install)
FILES=${FONTFILES}
FILESDIR=${DEVICEDIR}
GENFILES=${FONTFILES:Mgenerate/*}
.for i in ${GENFILES}
FILESDIR_$i=${DEVICEDIR}/generate
.endfor
.endif
.include <bsd.prog.mk>