Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 20:27:15 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r260242 - stable/10/release/doc
Message-ID:  <201401032027.s03KRFQk029945@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Fri Jan  3 20:27:15 2014
New Revision: 260242
URL: http://svnweb.freebsd.org/changeset/base/260242

Log:
  MFC r259792:
    Remove references to SUP_UPDATE and CVS_UPDATE.
    Include base svn when evaluating if svn(1) exists.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/release/doc/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/release/doc/Makefile
==============================================================================
--- stable/10/release/doc/Makefile	Fri Jan  3 20:02:59 2014	(r260241)
+++ stable/10/release/doc/Makefile	Fri Jan  3 20:27:15 2014	(r260242)
@@ -12,31 +12,27 @@ SUBDIR+=	share/xml
 
 RELN_ROOT?= ${.CURDIR}
 
+.if exists(/usr/local/bin/svn)
 SVN?=		/usr/local/bin/svn
+.elif exists(/usr/bin/svn)
+SVN?=		/usr/bin/svn
+.else
+SVN?=		/usr/bin/svnlite
+.endif
+
 SVNFLAGS?=	-r HEAD
 
 update:
-.if (defined(CVS_UPDATE) || defined(SUP_UPDATE)) && !defined(SVN_UPDATE)
-	@echo "--------------------------------------------------------------"
-	@echo "CVS_UPDATE and SUP_UPDATE are no longer supported."
-	@echo "Please see: https://wiki.freebsd.org/CvsIsDeprecated"
-	@echo "--------------------------------------------------------------"
-	@exit 1
-.endif
-.if defined(SVN_UPDATE)
-. if !exists(${SVN})
+.if !exists(${SVN})
 	@echo "--------------------------------------------------------------"
 	@echo ">>> Updating ${RELN_ROOT} requires ${SVN}."
 	@echo "--------------------------------------------------------------"
 	@exit 1
-. endif
+.endif
 	@echo "--------------------------------------------------------------"
-	@echo ">>> Updating ${.CURDIR} using Subversion"
+	@echo ">>> Updating ${.CURDIR}"
 	@echo "--------------------------------------------------------------"
 	@(cd ${.CURDIR} && ${SVN} update ${SVNFLAGS})
-.else
-	@echo "Error: Please define SVN_UPDATE first."
-.endif
 
 .include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
 .include "${DOC_PREFIX}/share/mk/doc.subdir.mk"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401032027.s03KRFQk029945>