Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2018 23:31:36 +0000 (UTC)
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472025 - head/lang/rust
Message-ID:  <201806082331.w58NVa62072049@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Fri Jun  8 23:31:35 2018
New Revision: 472025
URL: https://svnweb.freebsd.org/changeset/ports/472025

Log:
  lang/rust: Add `make makesum-all-archs` target
  
  It is a helper to ease the generation of the `distinfo` file for all the
  architectures we support. It avoids the manual commands.

Modified:
  head/lang/rust/Makefile

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Fri Jun  8 23:12:18 2018	(r472024)
+++ head/lang/rust/Makefile	Fri Jun  8 23:31:35 2018	(r472025)
@@ -333,6 +333,14 @@ do-test:
 		--config ./config.toml \
 		--jobs ${MAKE_JOBS_NUMBER}
 
+makesum-all-archs:
+	${MAKE} makesum ARCH=${ONLY_FOR_ARCHS:[1]}
+.for arch in ${ONLY_FOR_ARCHS:[2..-1]}
+	${MAKE} makesum ARCH=${arch} DISTINFO_FILE=${DISTINFO_FILE}.${arch}
+	${GREP} ${RUST_ARCH_${arch}} ${DISTINFO_FILE}.${arch} >> ${DISTINFO_FILE}
+	${RM} ${DISTINFO_FILE}.${arch}
+.endfor
+
 BOOTSTRAPS_SOURCE_PKG_FBSDVER=		10
 BOOTSTRAPS_SOURCE_PKG_FBSDVER_aarch64=	11
 BOOTSTRAPS_SOURCE_PKG_REV=



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