add check_DESTDIR and check_RELEASEDIR targets
This commit is contained in:
parent
a3f0b56f7a
commit
8e7564ec57
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 2002/02/08 02:27:55 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 2002/02/26 13:25:03 lukem Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -11,3 +11,24 @@ DISTRIBDIR= ${_SRC_TOP_}/distrib
|
||||
#
|
||||
DISTRIBREV!= sh ${KERNSRCDIR}/conf/osrelease.sh -s
|
||||
DISTRIBVER!= sh ${KERNSRCDIR}/conf/osrelease.sh
|
||||
|
||||
# Helper targets
|
||||
.if !target(check_DESTDIR)
|
||||
check_DESTDIR: .PHONY
|
||||
.if !defined(DESTDIR)
|
||||
@echo "setenv DESTDIR before doing that!"
|
||||
@false
|
||||
.else
|
||||
@true
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !target(check_RELEASEDIR)
|
||||
check_RELEASEDIR: .PHONY
|
||||
.if !defined(RELEASEDIR)
|
||||
@echo "setenv RELEASEDIR before doing that!"
|
||||
@false
|
||||
.else
|
||||
@true
|
||||
.endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user