summaryrefslogtreecommitdiffstats
path: root/share/doc/psd/19.curses/Makefile
blob: 8de4b43783e254ad663303b1a375c4fc41971acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#	From: @(#)Makefile	8.1 (Berkeley) 8/14/93
#	$Id: Makefile,v 1.7 1997/02/22 13:04:35 peter Exp $

VOLUME=	psd/19.curses
SRCS=	Master
MACROS=	-me
SRCDIR=	${.CURDIR}/../../../../lib/libcurses/PSD.doc

cfiles= ex1.c twinkle1.c
OBJS=	${cfiles:S;.c$;.gr;} intro.2.tbl
files=	intro.0 intro.1 intro.3 intro.4 intro.5 intro.6 \
	macros c_macros fns.doc appen.A
EXTRA=	${files}
CLEANFILES+= ${OBJS} ${files} Master
USE_SOELIM=	yes
USE_SOELIMPP=	yes


.SUFFIXES:
.SUFFIXES: .c .gr

#
# this section formats C input source into nice troffable (or nroffable)
# versions.  It uses the capabilites of "vgrind", which sets keywords in
# bold font, and comments in italics.
#

# Don't re-run vgrind unless you want to patch the output files.
VFONT=	/usr/libexec/vfontedpr
.c.gr:
	${VFONT} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET}

intro.2.tbl: intro.2
	${TBL} ${SRCDIR}/intro.2 > intro.2.tbl

Master: ${files}
	@for file in ${.TARGET} ${files}; do \
		test -e $$file || ln -s ${SRCDIR}/$${file} . ;\
	done

.include <bsd.doc.mk>
OpenPOWER on IntegriCloud