Use a phony target to build xetc.tgz so that its gets rebuilt everytime

This commit is contained in:
matthieu 2014-08-28 17:11:19 +00:00
parent 03381c3199
commit 4f157902c5

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.2 2014/08/28 17:08:33 matthieu Exp $
# $OpenBSD: Makefile,v 1.3 2014/08/28 17:11:19 matthieu Exp $
DB = /usr/X11R6/lib/locate/xorg.db
XETC = ${DESTDIR}/usr/share/sysmerge/xetc.tgz
all: ${XETC} makedb
all: tarxetc makedb
makedb:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
${XETC}:
tarxetc:
MACHINE=${MACHINE} /bin/sh ${.CURDIR}/makexetc
.PHONY: makedb
.PHONY: makedb tarxetc