Rebuild manpage only if needed.

This commit is contained in:
Maxim Dounin 2011-08-18 15:57:59 +00:00
parent b09ceca261
commit 400de576f9

View File

@ -74,7 +74,9 @@ esac
cat << END >> $NGX_MAKEFILE 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|" \\ sed -e "s|%%PREFIX%%|$NGX_PREFIX|" \\
-e "s|%%PID_PATH%%|$NGX_PID_PATH|" \\ -e "s|%%PID_PATH%%|$NGX_PID_PATH|" \\
-e "s|%%CONF_PATH%%|$NGX_CONF_PATH|" \\ -e "s|%%CONF_PATH%%|$NGX_CONF_PATH|" \\