Build whatis.db and infodir-meta from the commands list of the afterinstall
target. Remember: inserting `dummy' targets is not equivalent of some convenient macro expansion; it has side effects!
This commit is contained in:
parent
8b5599e7ce
commit
363e8b8dbc
10
Makefile
10
Makefile
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.164 2002/03/01 06:02:41 jmc Exp $
|
||||
# $NetBSD: Makefile,v 1.165 2002/03/05 16:17:06 pk Exp $
|
||||
|
||||
# This is the top-level makefile for building NetBSD. For an outline of
|
||||
# how to build a snapshot or release, as well as other release engineering
|
||||
|
@ -105,20 +105,14 @@ regression-tests:
|
|||
@(cd ${.CURDIR}/regress && ${MAKE} regress)
|
||||
.endif
|
||||
|
||||
whatis.db:
|
||||
afterinstall:
|
||||
.if ${MKMAN} != "no"
|
||||
(cd ${.CURDIR}/share/man && ${MAKE} makedb)
|
||||
.endif
|
||||
|
||||
# Let install-info track this as it's the program creating/updating the
|
||||
# dir file
|
||||
infodir-meta:
|
||||
.if defined(UNPRIVED) && (${MKINFO} != "no")
|
||||
(cd ${.CURDIR}/gnu/usr.bin/texinfo/install-info && ${MAKE} infodir-meta)
|
||||
.endif
|
||||
|
||||
afterinstall: whatis.db infodir-meta
|
||||
|
||||
# Targets (in order!) called by "make build".
|
||||
|
||||
BUILDTARGETS+= check-tools
|
||||
|
|
Loading…
Reference in New Issue