Klaus Demo nginx / 7022bc2
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. Maxim Dounin 7 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
55 cat << END >> $NGX_MAKEFILE
66
77 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \
8 \$(CORE_DEPS) \$(HTTP_DEPS) \
89 src/http/modules/perl/nginx.pm \
910 src/http/modules/perl/nginx.xs \
1011 src/http/modules/perl/ngx_http_perl_module.h \
1112 $NGX_OBJS/src/http/modules/perl/Makefile
12 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
13 cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
1314
1415 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
1516