diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2010-01-10 13:36:11 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2010-01-10 13:36:11 +0000 |
commit | e29503dfa1d1db70f8d4738b11d952ccab2657a6 (patch) | |
tree | 8c9384afc5d47dbdbe1e5c98fcf93e8b0e173a8e /Makefile | |
parent | 8998e328ca48bb5ccf6f36ef0972ae282ae448eb (diff) |
Create and distribute the initial sysmerge sum file just like we do for
base on new installations.
"reads alright" oga@, ok matthieu@ todd@
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.33 2009/12/01 21:36:52 matthieu Exp $ +# $OpenBSD: Makefile,v 1.34 2010/01/10 13:36:10 ajacoutot Exp $ .include <bsd.own.mk> LOCALAPPD=/usr/local/lib/X11/app-defaults @@ -105,6 +105,12 @@ release-install: ${XCONFIG} ${DESTDIR}/etc/X11 ; \ fi .endif + touch ${DESTDIR}/var/db/sysmerge/xetcsum + TMPSUM=`mktemp /tmp/_xetcsum.XXXXXXXXXX` || exit 1; \ + sort distrib/sets/lists/xetc/{mi,md.${MACHINE}} > $${TMPSUM}; \ + cd ${DESTDIR} && \ + xargs cksum < $${TMPSUM} > ${DESTDIR}/var/db/sysmerge/xetcsum; \ + rm -f $${TMPSUM} dist-rel: ${MAKE} RELEASEDIR=`pwd`/rel DESTDIR=`pwd`/dest dist 2>&1 | tee distlog |