check for ${X11SRCDIR.xc} instead of ${X11SRCDIR}; it's a bit more robust
This commit is contained in:
parent
12e7c81811
commit
5680605b4d
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2004/01/23 23:03:23 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2004/02/02 14:21:51 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -52,9 +52,9 @@ check_X11SRCDIR: .PHONY .NOTMAIN
|
|||
@echo
|
||||
@echo "ERROR: setenv X11SRCDIR before doing that!"
|
||||
@false
|
||||
.elif !exists(${X11SRCDIR})
|
||||
.elif !exists(${X11SRCDIR.xc})
|
||||
@echo
|
||||
@echo "ERROR: X11SRCDIR \`${X11SRCDIR}' does not exist"
|
||||
@echo "ERROR: X11SRCDIR.xc \`${X11SRCDIR.xc}' does not exist"
|
||||
@false
|
||||
.else
|
||||
@true
|
||||
|
|
Loading…
Reference in New Issue