Configure: improved make dependencies for perl module.
Added missing dependencies for perl module's Makefile.
Simplified dependencies for perl module nginx.so: it depends
on Makefile that in turn depends on other perl bits.
diff --git a/auto/lib/perl/make b/auto/lib/perl/make
index d4dc300..dbfc83a 100644
--- a/auto/lib/perl/make
+++ b/auto/lib/perl/make
@@ -7,12 +7,8 @@
$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 src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
-
cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
rm -rf $NGX_OBJS/install_perl
@@ -20,7 +16,9 @@
$NGX_OBJS/src/http/modules/perl/Makefile: \\
src/http/modules/perl/Makefile.PL \\
- src/http/modules/perl/nginx.pm
+ src/http/modules/perl/nginx.pm \\
+ src/http/modules/perl/nginx.xs \\
+ src/http/modules/perl/typemap
cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/
cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/