diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-07-06 20:40:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-07-06 20:40:33 +0000 |
commit | e9974c500aa9ef1932b83e0bd38f3abebac07b3a (patch) | |
tree | 20a3d476db34845544bcb09c602aed8a20176204 /share/mk | |
parent | 88fa8e979fdda9d0ac55cb2dce68be6a503f8237 (diff) |
Make sure typing "make install" twice in a row
installs manuals twice, not only the first time.
Admittedly, marking real target files as .PHONY is ugly,
but this is the least complex fix found so far.
If somebody comes up with something better,
i will gladly improve this.
Problem originally reported and some prodding by deraadt@.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.man.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk index aa811ed53e1..32676a746cf 100644 --- a/share/mk/bsd.man.mk +++ b/share/mk/bsd.man.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.man.mk,v 1.37 2011/07/06 04:10:27 schwarze Exp $ +# $OpenBSD: bsd.man.mk,v 1.38 2011/07/06 20:40:32 schwarze Exp $ # $NetBSD: bsd.man.mk,v 1.23 1996/02/10 07:49:33 jtc Exp $ # @(#)bsd.man.mk 5.2 (Berkeley) 5/11/90 @@ -54,6 +54,8 @@ ${_MAN_INST}: ${page} ${.ALLSRC} ${.TARGET} maninstall: ${_MAN_INST} + +.PHONY: ${_MAN_INST} . endfor .endfor |