From 1bf8d5a32105d1d270ea4d247a736709edef3db5 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 27 May 1999 23:21:21 +0000 Subject: make /usr/include/g++ if it doesn't already exist --- lib/libcurses++/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libcurses++/Makefile b/lib/libcurses++/Makefile index 9ca9b1f5a43..137fbad3538 100644 --- a/lib/libcurses++/Makefile +++ b/lib/libcurses++/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 1999/05/09 00:21:14 millert Exp $ +# $OpenBSD: Makefile,v 1.2 1999/05/27 23:21:20 millert Exp $ # Uncomment this to enable tracing in libcurses #CURSESTRACE=-DTRACE @@ -11,6 +11,8 @@ HEADERS=cursesapp.h cursesf.h cursesm.h cursesp.h cursesw.h etip.h cursslk.h CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libcurses ${CURSESTRACE} includes: + @test -d ${DESTDIR}/usr/include/g++ || \ + install -d -o root -g bin -m 755 /usr/include/g++ @for i in ${HEADERS}; do \ cmp -s ${DESTDIR}/usr/include/g++/$$i ${.CURDIR}/$$i || \ ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \ -- cgit v1.2.3