Remove omf.mk -- use mk/omf-scrollkeeper.mk instead.

This commit is contained in:
wiz 2009-03-08 15:57:04 +00:00
parent 78b7af7df5
commit d732999e45

View file

@ -1,40 +0,0 @@
# $NetBSD: omf.mk,v 1.1 2009/01/04 18:01:01 wiz Exp $
#
# This Makefile fragment is intended to be included by packages that install
# OMF files. It takes care of registering them in scrollkeeper's global
# database.
#
# The following variables are automatically defined for free use in packages:
# SCROLLKEEPER_DATADIR - scrollkeeper's data directory.
# SCROLLKEEPER_REBUILDDB - scrollkeeper-rebuilddb binary program.
# SCROLLKEEPER_UPDATEDB - scrollkeeper-update binary program.
#
.if !defined(SCROLLKEEPER_OMF_MK)
SCROLLKEEPER_OMF_MK= # defined
.include "../../mk/bsd.prefs.mk"
# scrollkeeper's data directory.
SCROLLKEEPER_DATADIR= ${BUILDLINK_PREFIX.rarian}/libdata/scrollkeeper
# scrollkeeper binary programs.
SCROLLKEEPER_REBUILDDB= ${BUILDLINK_PREFIX.rarian}/bin/scrollkeeper-rebuilddb
SCROLLKEEPER_UPDATEDB= ${BUILDLINK_PREFIX.rarian}/bin/scrollkeeper-update
INSTALL_TEMPLATES+= \
${.CURDIR}/../../textproc/rarian/files/install-scrollkeeper.tmpl
DEINSTALL_TEMPLATES+= \
${.CURDIR}/../../textproc/rarian/files/install-scrollkeeper.tmpl
FILES_SUBST+= SCROLLKEEPER_DATADIR=${SCROLLKEEPER_DATADIR:Q}
FILES_SUBST+= SCROLLKEEPER_REBUILDDB=${SCROLLKEEPER_REBUILDDB:Q}
FILES_SUBST+= SCROLLKEEPER_UPDATEDB=${SCROLLKEEPER_UPDATEDB:Q}
PRINT_PLIST_AWK+= /^@dirrm share\/omf$$/ \
{ print "@comment in rarian: " $$0; \
next; }
.include "../../textproc/rarian/buildlink3.mk"
.endif # SCROLLKEEPER_OMF_MK