From: downsj Date: Wed, 26 Feb 1997 02:03:39 +0000 (+0000) Subject: Be sure the directory exists. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3b470462c839c484ef67617b0921fae73b313c5d;p=openbsd Be sure the directory exists. --- diff --git a/lib/libss/Makefile b/lib/libss/Makefile index 862c5be679b..c6abe2b122a 100644 --- a/lib/libss/Makefile +++ b/lib/libss/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 1996/12/08 15:22:32 downsj Exp $ +# $OpenBSD: Makefile,v 1.5 1997/02/26 02:03:39 downsj Exp $ LIB= ss HDRS= ss.h ${.OBJDIR}/ss_err.h @@ -20,7 +20,9 @@ std_rqs.c: ${.CURDIR}/std_rqs.ct -test -h std_rqs.ct && rm std_rqs.ct includes: ss_err.h - @cd ${.CURDIR}; for i in $(HDRS); do \ + @${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ + ${DESTDIR}/usr/include/ss; \ + cd ${.CURDIR}; for i in $(HDRS); do \ j="cmp -s $$i ${DESTDIR}/usr/include/ss/$$i || \ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i \ ${DESTDIR}/usr/include/ss"; \