Use a more robust check for ss_err.h existing. This header isn't

built early enough to always be installed by the `includes' target
in /usr/src/Makefile.  This is supposed to be handled by not
installing it if it doesn't exist.  However, a stale, uninstallable
copy sometimes exists in the source directory, and the existence
test sometimes found the wrong copy.
This commit is contained in:
Bruce Evans 1996-09-05 21:22:51 +00:00
parent 7fae9bcd24
commit 36d4ab45ac

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.13 1996/08/30 02:04:37 peter Exp $
# $Id: Makefile,v 1.14 1996/09/05 17:14:31 bde Exp $
LIB= ss
SRCS= ss_err.c data.c error.c execute_cmd.c help.c invocation.c list_rqs.c \
@ -29,7 +29,7 @@ beforeinstall:
${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)
.if exists(${.OBJDIR}/ss_err.h)
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ss_err.h \
${DESTDIR}/usr/include/ss
.endif