Mercurial > hg > nginx
comparison auto/lib/perl/make @ 5070:3099747ddbb5
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, 15 Feb 2013 16:50:22 +0000 |
parents | ae3ebf5ac8cd |
children | 6dd4875eb526 |
comparison
equal
deleted
inserted
replaced
5069:e9d188e295cf | 5070:3099747ddbb5 |
---|---|
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 |