Make regress only if directory exists. It can be optional.
This commit is contained in:
parent
9f61e2d7a5
commit
305b8056ec
4
Makefile
4
Makefile
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile,v 1.12 1993/07/04 14:02:11 cgd Exp $
|
# $Id: Makefile,v 1.13 1993/07/07 12:55:48 brezak Exp $
|
||||||
|
|
||||||
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
|
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ SUBDIR+= gnu
|
||||||
|
|
||||||
SUBDIR+= sys
|
SUBDIR+= sys
|
||||||
|
|
||||||
|
.if exists(regress)
|
||||||
.ifmake !(install)
|
.ifmake !(install)
|
||||||
SUBDIR+= regress
|
SUBDIR+= regress
|
||||||
.endif
|
.endif
|
||||||
|
@ -14,5 +15,6 @@ SUBDIR+= regress
|
||||||
regression-tests:
|
regression-tests:
|
||||||
@echo Running regression tests...
|
@echo Running regression tests...
|
||||||
@( cd regress; make regress )
|
@( cd regress; make regress )
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
|
Loading…
Reference in New Issue