Put the infodir-meta rule here (and wrap it) to allow it to be called from the
top level Makefile
This commit is contained in:
parent
c4b45e27c6
commit
f6ce7f3293
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2001/09/02 22:16:58 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2002/03/01 06:03:20 jmc Exp $
|
||||
|
||||
PROG= install-info
|
||||
SRCS= install-info.c
|
||||
|
@ -6,3 +6,9 @@ SRCS= install-info.c
|
|||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${DIST}/texinfo/util ${DIST}/texinfo/doc
|
||||
|
||||
infodir-meta:
|
||||
.if defined(UNPRIVED) && (${MKINFO} != "no")
|
||||
echo "${DESTDIR}/usr/share/info/dir type=file mode=0644 uname=root gname=wheel" | \
|
||||
sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue