summaryrefslogtreecommitdiff
path: root/lib/libss
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-02-26 02:03:40 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-02-26 02:03:40 +0000
commit5f27caa41f44a1b648fe827c11a6b3fda4122cde (patch)
treef6e4c5b23c246bb3100dc2d49b424b88b7872ae5 /lib/libss
parent2b1c508a0acb35cd0bea9bdab88508b83710c36c (diff)
Be sure the directory exists.
Diffstat (limited to 'lib/libss')
-rw-r--r--lib/libss/Makefile6
1 files changed, 4 insertions, 2 deletions
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"; \