mirror of
https://github.com/nginx/nginx.git
synced 2024-11-27 23:49:00 +08:00
Rebuild manpage only if needed.
This commit is contained in:
parent
b09ceca261
commit
400de576f9
@ -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|" \\
|
||||||
|
Loading…
Reference in New Issue
Block a user