Module Name: src Committed By: tsutsui Date: Sun Mar 22 07:35:43 UTC 2009
Modified Files: src/distrib/cdrom: Makefile Log Message: Print error message properly when ${RELEASE} is not set. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/distrib/cdrom/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/cdrom/Makefile diff -u src/distrib/cdrom/Makefile:1.42 src/distrib/cdrom/Makefile:1.43 --- src/distrib/cdrom/Makefile:1.42 Sat Mar 21 23:52:38 2009 +++ src/distrib/cdrom/Makefile Sun Mar 22 07:35:43 2009 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2009/03/21 23:52:38 tsutsui Exp $ +# $NetBSD: Makefile,v 1.43 2009/03/22 07:35:43 tsutsui Exp $ # # Consult "*.conf" for the configuration variables; this Makefile is typically # not edited for basic configuration changes. @@ -94,6 +94,7 @@ # extra path for rsync mirrors ("/pub", "/netbsd" etc.) RSYNC_PATH_PREFIX?= +.if !target(.BEGIN) .if ${RELEASE} == "current" # daily date dir name BRANCH?= HEAD @@ -109,6 +110,7 @@ #BRANCH?= netbsd-4 #RSYNC_PATH?= ${RSYNC_PATH_PREFIX}/NetBSD-daily/${BRANCH}/${DAILY_DIR} .endif +.endif RSYNC_SITE?= rsync://${RSYNC_HOST}${RSYNC_PATH} RSYNC_ARGS?= -va --delete