From 36d4ab45ac0fc33e3075fa71b31a622aee3425b5 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 5 Sep 1996 21:22:51 +0000 Subject: [PATCH] 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. --- lib/libss/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libss/Makefile b/lib/libss/Makefile index 44bf476cb420..dd2ae79852b5 100644 --- a/lib/libss/Makefile +++ b/lib/libss/Makefile @@ -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