diff options
author | bde <bde@FreeBSD.org> | 1996-09-05 21:22:51 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-05 21:22:51 +0000 |
commit | 3dd86bb9547257594b192b3dbd042ac425b89aa2 (patch) | |
tree | 25a6f4cef1310dd5992c01d5a1cbc5be0875e509 /lib | |
parent | 34657c737b0ff73e8b22204f4fabbfbd67fb63c2 (diff) | |
download | FreeBSD-src-3dd86bb9547257594b192b3dbd042ac425b89aa2.zip FreeBSD-src-3dd86bb9547257594b192b3dbd042ac425b89aa2.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libss/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile index 44bf476..dd2ae79 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 |