Mercurial > hg > nginx
comparison auto/lib/perl/make @ 5151:3c4f32ebef31 stable-1.2
Merge of r5071: rebuild perl module on headers change.
Configure: rebuild perl module nginx.so if headers are changed.
Note: the "-p" argument of cp(1) dropped intentionally, to force nginx.so
rebuild. It is considered too boring to properly list all dependencies
in Makefile.PL.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 29 Mar 2013 17:13:45 +0000 |
parents | 1559423ec28b |
children | 6dd4875eb526 |
comparison
equal
deleted
inserted
replaced
5150:668882b5e737 | 5151:3c4f32ebef31 |
---|---|
4 | 4 |
5 | 5 |
6 cat << END >> $NGX_MAKEFILE | 6 cat << END >> $NGX_MAKEFILE |
7 | 7 |
8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \ | 8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \ |
9 \$(CORE_DEPS) \$(HTTP_DEPS) \ | |
9 src/http/modules/perl/nginx.pm \ | 10 src/http/modules/perl/nginx.pm \ |
10 src/http/modules/perl/nginx.xs \ | 11 src/http/modules/perl/nginx.xs \ |
11 src/http/modules/perl/ngx_http_perl_module.h \ | 12 src/http/modules/perl/ngx_http_perl_module.h \ |
12 $NGX_OBJS/src/http/modules/perl/Makefile | 13 $NGX_OBJS/src/http/modules/perl/Makefile |
13 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ | 14 cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ |
14 | 15 |
15 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) | 16 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) |
16 | 17 |
17 rm -rf $NGX_OBJS/install_perl | 18 rm -rf $NGX_OBJS/install_perl |
18 | 19 |