Create xetc.tgz without intermediate file.
OK matthieu@
This commit is contained in:
parent
7a623b64fa
commit
0376b8f865
8
Makefile
8
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 <bsd.own.mk>
|
||||
.include <bsd.xconf.mk>
|
||||
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user