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

39 lines
747 B
Makefile
Raw Normal View History

1993-08-01 09:37:30 +04:00
# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
1998-09-05 18:57:41 +04:00
# $NetBSD: Makefile.dev,v 1.21 1998/09/05 14:57:41 lukem Exp $
1993-03-21 12:45:37 +03:00
# Client Makefiles define DEVICE and FONTFILES and provide rules for
# individual font files
DEVICES_=no_libraries
1997-05-09 08:53:38 +04:00
.include "../Makefile.cfg"
1993-03-21 12:45:37 +03:00
# XXX -- this depends on ../include/defs.h
FONTDIR= /usr/share/groff_font
1997-03-27 12:52:03 +03:00
DEVICEDIR?= $(FONTDIR)/dev$(DEVICE)
FONTOWN?= ${FILESOWN}
FONTGRP?= ${FILESGRP}
FONTMODE?= ${FILESMODE}
1993-03-21 12:45:37 +03:00
.MAIN: all
all: $(FONTFILES)
.if !target(clean)
1998-09-05 18:57:41 +04:00
clean cleandir distclean:
1993-07-15 00:39:14 +04:00
-rm -f $(FONTFILES)
.else
COPY= -c
1993-07-15 00:39:14 +04:00
.endif
1993-03-21 12:45:37 +03:00
.if !target(install)
1997-03-25 01:02:40 +03:00
FILES=${FONTFILES}
FILESDIR=${DEVICEDIR}
GENFILES=${FONTFILES:Mgenerate/*}
.for i in ${GENFILES}
FILESDIR_$i=${DEVICEDIR}/generate
.endfor
1993-03-21 12:45:37 +03:00
.endif
1993-07-17 15:58:38 +04:00
.include <bsd.prog.mk>