comparison auto/install @ 4007:7e3c557c2604

Rebuild manpage only if needed.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 18 Aug 2011 15:57:59 +0000
parents 569716d0e447
children 874a2f505e2a
comparison
equal deleted inserted replaced
4006:87f47e05fc82 4007:7e3c557c2604
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|" \\ 83 -e "s|%%ERROR_LOG_PATH%%|$NGX_ERROR_LOG_PATH|" \\
82 < man/nginx.8 > $NGX_OBJS/nginx.8 84 < man/nginx.8 > $NGX_OBJS/nginx.8