From 2a0b3d1e69cd969d36717dafbff08576ab0b277c Mon Sep 17 00:00:00 2001 From: Robert Peichaer Date: Sun, 28 Sep 2014 20:49:00 +0000 Subject: Create xetc.tgz without intermediate file. OK matthieu@ --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3367e7bbf..e2d0c6250 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.61 2014/08/28 17:08:33 matthieu Exp $ +# $OpenBSD: Makefile,v 1.62 2014/09/28 20:48:59 rpe Exp $ .include .include @@ -111,11 +111,9 @@ release-install: .endif touch ${DESTDIR}/usr/share/sysmerge/xetcsum @exec ${MAKE} install - XETCLIST=`mktemp /tmp/_xetcsum.XXXXXXXXXX` || exit 1; \ - sort distrib/sets/lists/xetc/{mi,md.${MACHINE}} > $${XETCLIST}; \ cd ${DESTDIR} && \ - xargs sha256 -h ${DESTDIR}/usr/share/sysmerge/xetcsum < $${XETCLIST} || true; \ - rm -f $${XETCLIST} + sort ${.CURDIR}/distrib/sets/lists/xetc/{mi,md.${MACHINE}} | \ + xargs sha256 -h ${DESTDIR}/usr/share/sysmerge/xetcsum || true dist-rel: ${MAKE} RELEASEDIR=`pwd`/rel DESTDIR=`pwd`/dest dist 2>&1 | tee distlog -- cgit v1.2.3