diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-05-27 23:21:21 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-05-27 23:21:21 +0000 |
commit | 1bf8d5a32105d1d270ea4d247a736709edef3db5 (patch) | |
tree | 8dc8ec6f8c75d113c2ec1d059d3b8c7f81d96d78 /lib/libcurses++/Makefile | |
parent | 24ce86b0df0b54f4ad96ee29b65c1e11c8785109 (diff) |
make /usr/include/g++ if it doesn't already exist
Diffstat (limited to 'lib/libcurses++/Makefile')
-rw-r--r-- | lib/libcurses++/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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) \ |