blob: 0974a245ecb9878d90b183980e5fe5d6c2988e12 (
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
|
# $OpenBSD: Makefile,v 1.3 1996/04/24 23:45:04 mickey Exp $
# from: @(#)Makefile 5.14 (Berkeley) 9/15/92
MAN= termcap.5
CLEANFILES= termcap.db
all: termcap.db
termcap.db: termcap.src
cat ${.ALLSRC} | sed \
-e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \
-e 's,/usr/lib/tabset,/usr/share/tabset,g' \
> ${.OBJDIR}/fixed
cap_mkdb -f termcap ${.OBJDIR}/fixed
realinstall:
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \
${DESTDIR}${BINDIR}/misc/termcap.db
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/termcap.src \
${DESTDIR}${BINDIR}/misc/termcap
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \
${DESTDIR}${BINDIR}/misc/map3270
CLEANFILES+= fixed
.include <bsd.prog.mk>
|