From 400de576f918f08a522b5b86d54038d2c0b7f6ef Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 18 Aug 2011 15:57:59 +0000 Subject: [PATCH] Rebuild manpage only if needed. --- auto/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auto/install b/auto/install index 6b5a12034..6cf217e73 100644 --- a/auto/install +++ b/auto/install @@ -74,7 +74,9 @@ esac cat << END >> $NGX_MAKEFILE -manpage: +manpage: $NGX_OBJS/nginx.8 + +$NGX_OBJS/nginx.8: man/nginx.8 $NGX_AUTO_CONFIG_H sed -e "s|%%PREFIX%%|$NGX_PREFIX|" \\ -e "s|%%PID_PATH%%|$NGX_PID_PATH|" \\ -e "s|%%CONF_PATH%%|$NGX_CONF_PATH|" \\