diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-02-15 16:50:22 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-02-15 16:50:22 +0000 |
commit | 7022bc28ead828afd8ee5109e7d96f3bff45c7e5 (patch) | |
tree | bfc842bf24a1ff0458aa66786c2230833bba5ddd | |
parent | d2c9f4554f201bde00281d58d4de600a0e8877a1 (diff) | |
download | nginx-7022bc28ead828afd8ee5109e7d96f3bff45c7e5.tar.gz nginx-7022bc28ead828afd8ee5109e7d96f3bff45c7e5.zip |
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.
-rw-r--r-- | auto/lib/perl/make | 3 |
1 files changed, 2 insertions, 1 deletions
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) |