@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.423 2016/05/11 21:52:48 deraad t Exp $
# $OpenBSD: Makefile,v 1.424 2016/05/14 14:44:35 ajacouto t Exp $
TZDIR = /usr/share/zoneinfo
TZDIR = /usr/share/zoneinfo
LOCALTIME = Canada/Mountain
LOCALTIME = Canada/Mountain
@ -208,15 +208,9 @@ distribution-etc-root-var: distrib-dirs
${ DESTDIR } /etc/rc.d
${ DESTDIR } /etc/rc.d
cd ${ DESTDIR } /var; ln -fs ../tmp
cd ${ DESTDIR } /var; ln -fs ../tmp
touch ${ DESTDIR } /var/sysmerge/etcsum
touch ${ DESTDIR } /var/sysmerge/etcsum
touch ${ DESTDIR } /var/sysmerge/examplessum
cd ${ DESTDIR } / && \
cd ${ DESTDIR } / && \
sort ${ .CURDIR } /../distrib/sets/lists/etc/{ mi,md.${ MACHINE } } | \
sort ${ .CURDIR } /../distrib/sets/lists/etc/{ mi,md.${ MACHINE } } | \
xargs sha256 -h ${ DESTDIR } /var/sysmerge/etcsum || true
xargs sha256 -h ${ DESTDIR } /var/sysmerge/etcsum || true
cd ${ DESTDIR } / && \
grep -h '/etc/examples/' \
${ .CURDIR } /../distrib/sets/lists/base/{ mi,md.${ MACHINE } } | \
sort | \
xargs sha256 -h ${ DESTDIR } /var/sysmerge/examplessum || true
cd ${ DESTDIR } / && \
cd ${ DESTDIR } / && \
sort ${ .CURDIR } /../distrib/sets/lists/etc/{ mi,md.${ MACHINE } } | \
sort ${ .CURDIR } /../distrib/sets/lists/etc/{ mi,md.${ MACHINE } } | \
pax -w -d | gzip -9 > ${ DESTDIR } /var/sysmerge/etc.tgz
pax -w -d | gzip -9 > ${ DESTDIR } /var/sysmerge/etc.tgz