build: ensure gem and tgz targets build manpages
commit0dc56fd03ea478ae054e3d0398703f43e017723b
authorEric Wong <normalperson@yhbt.net>
Tue, 7 Jun 2011 16:56:30 +0000 (7 09:56 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 7 Jun 2011 17:01:35 +0000 (7 10:01 -0700)
treebc24cfcc15757b6372dad9f1bddd138317cb61ab
parent6eefc641c84eaa86cb2be4a2b1983b15efcbfae1
build: ensure gem and tgz targets build manpages

Original patch by Hongli Lai <hongli@phusion.nl>:

> >From bfefc2cf0efb0913a42862886363b3140dcdbb2a Mon Sep 17 00:00:00 2001
> From: Hongli Lai (Phusion) <hongli@phusion.nl>
> Date: Mon, 6 Jun 2011 13:39:00 +0200
> Subject: [PATCH] Ensure that 'make gem' builds the documentation too.
>
> If autogenerated documentation files, like man pages, don't exist then
> 'make gem' will fail, complaining that some files are not found. By
> depending the 'gem' target on the 'doc' target we ensure that 'make gem'
> always works.
>
> Signed-off-by: Hongli Lai (Phusion) <hongli@phusion.nl>

ref: http://mid.gmane.org/4DED0EE2.7040400@phusion.nl
GNUmakefile