xenocara/distrib/sets/Makefile
tb 014a2c67d0 Set permissions of xorg.db and xetc.tgz explicitly, so they don't
depend on the umask.

push forward deraadt; no objections matthieu
2016-11-19 08:36:48 +00:00

21 lines
460 B
Makefile

# $OpenBSD: Makefile,v 1.6 2016/11/19 08:36:48 tb Exp $
DB = /usr/X11R6/lib/locate/xorg.db
XETC = ${DESTDIR}/var/sysmerge/xetc.tgz
all: tarxetc makedb
makedb:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
chown ${BINOWN}:${BINGRP} ${DESTDIR}${DB}
chmod 644 ${DESTDIR}${DB}
tarxetc:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makexetc
chown root:wheel ${XETC}
chmod 644 ${XETC}
.PHONY: makedb tarxetc
.include <bsd.own.mk>