comparison auto/install @ 4347:4d45c138e3df stable-1.0

Merge of r4001, r4002, r4008: Manpage changes: *) Support link. *) Commented out reference to non-existing nginx.conf(5). *) Rebuild manpage only if needed.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 13 Dec 2011 18:07:52 +0000
parents 025396b57ec1
children cdb2e95bd3d0
comparison
equal deleted inserted replaced
4346:dc7549aa8556 4347:4d45c138e3df
72 esac 72 esac
73 73
74 74
75 cat << END >> $NGX_MAKEFILE 75 cat << END >> $NGX_MAKEFILE
76 76
77 manpage: 77 manpage: $NGX_OBJS/nginx.8
78
79 $NGX_OBJS/nginx.8: man/nginx.8 $NGX_AUTO_CONFIG_H
78 sed -e "s|%%PREFIX%%|$NGX_PREFIX|" \\ 80 sed -e "s|%%PREFIX%%|$NGX_PREFIX|" \\
79 -e "s|%%PID_PATH%%|$NGX_PID_PATH|" \\ 81 -e "s|%%PID_PATH%%|$NGX_PID_PATH|" \\
80 -e "s|%%CONF_PATH%%|$NGX_CONF_PATH|" \\ 82 -e "s|%%CONF_PATH%%|$NGX_CONF_PATH|" \\
81 -e "s|%%ERROR_LOG_PATH%%|${NGX_ERROR_LOG_PATH:-stderr}|" \\ 83 -e "s|%%ERROR_LOG_PATH%%|${NGX_ERROR_LOG_PATH:-stderr}|" \\
82 < man/nginx.8 > $NGX_OBJS/nginx.8 84 < man/nginx.8 > $NGX_OBJS/nginx.8