[nginx] svn commit: r5071 - trunk/auto/lib/perl

mdounin at mdounin.ru mdounin at mdounin.ru
Fri Feb 15 16:50:24 UTC 2013


Author: mdounin
Date: 2013-02-15 16:50:22 +0000 (Fri, 15 Feb 2013)
New Revision: 5071
URL: http://trac.nginx.org/nginx/changeset/5071/nginx

Log:
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.


Modified:
   trunk/auto/lib/perl/make

Modified: trunk/auto/lib/perl/make
===================================================================
--- trunk/auto/lib/perl/make	2013-02-13 14:39:46 UTC (rev 5070)
+++ trunk/auto/lib/perl/make	2013-02-15 16:50:22 UTC (rev 5071)
@@ -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)
 



More information about the nginx-devel mailing list