summaryrefslogtreecommitdiffstats
path: root/lib/libss
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-08-30 02:12:07 +0000
committerpeter <peter@FreeBSD.org>1996-08-30 02:12:07 +0000
commit3f709de38ccdb0b9e54ac5c652cac186e7aa7f80 (patch)
tree3319724cb0b02106aa2d4ce62b3e8052990efbfe /lib/libss
parent63fc84178443fce428256e82bde4c6e8e0d728bb (diff)
downloadFreeBSD-src-3f709de38ccdb0b9e54ac5c652cac186e7aa7f80.zip
FreeBSD-src-3f709de38ccdb0b9e54ac5c652cac186e7aa7f80.tar.gz
cmp -s || install -c ==> install -C
Diffstat (limited to 'lib/libss')
-rw-r--r--lib/libss/Makefile25
1 files changed, 9 insertions, 16 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile
index cebc01b..54c58e1 100644
--- a/lib/libss/Makefile
+++ b/lib/libss/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.11 1996/05/07 23:19:15 wosch Exp $
+# $Id: Makefile,v 1.12 1996/06/24 04:23:28 jkh Exp $
LIB= ss
SRCS= ss_err.c data.c error.c execute_cmd.c help.c invocation.c list_rqs.c \
@@ -24,21 +24,14 @@ std_rqs.c: ${.CURDIR}/std_rqs.ct
-test -h std_rqs.ct && rm -f std_rqs.ct
beforeinstall:
- -cd ${.CURDIR}; cmp -s ss.h ${DESTDIR}/usr/include/ss/ss.h || \
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ss.h \
- ${DESTDIR}/usr/include/ss
- -cd ${.CURDIR}; cmp -s copyright.h \
- ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h || \
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 copyright.h \
- ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h
- -cd ${.OBJDIR}; \
- if [ -f ss_err.h ]; then \
- cmp -s ss_err.h ${DESTDIR}/usr/include/ss/ss_err.h || \
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ss_err.h \
- ${DESTDIR}/usr/include/ss; \
- else \
- true; \
- fi
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ss.h \
+ ${DESTDIR}/usr/include/ss
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/copyright.h \
+ ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h
+.if exists(ss_err.h)
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ss_err.h \
+ ${DESTDIR}/usr/include/ss
+.endif
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud