From: Maxim Dounin Date: Fri, 29 Mar 2013 17:13:45 +0000 (+0000) Subject: Merge of r5071: rebuild perl module on headers change. X-Git-Tag: release-1.2.8~13 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=f3dcfd8c20b2aeb3cf3c483bfb0a37dc66003a94;p=nginx.git 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. --- diff --git a/auto/lib/perl/make b/auto/lib/perl/make index 6fe95af0e..b40352abf 100644 --- a/auto/lib/perl/make +++ b/auto/lib/perl/make @@ -6,11 +6,12 @@ cat << END >> $NGX_MAKEFILE $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \ + \$(CORE_DEPS) \$(HTTP_DEPS) \ src/http/modules/perl/nginx.pm \ src/http/modules/perl/nginx.xs \ src/http/modules/perl/ngx_http_perl_module.h \ $NGX_OBJS/src/http/modules/perl/Makefile - cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ + cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)