summaryrefslogtreecommitdiff
path: root/distrib/sets/Makefile
blob: 53c2aba365908923d7e2d814093826d6be22f4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $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>