Mercurial > hg > nginx-quic
annotate src/http/modules/perl/Makefile.PL @ 5161:a5f7d455e271 stable-1.2
Merge of r5130, r5131, r5132: support for Mercurial repositories.
*) Misc: switch to single export operation in "zip" target.
While exporting parts of the tree might be better in some cases, it
is awfully slow overseas, and also requires unlocking ssh key multiple
times. Exporting the whole repo and removing directories not needed for
zip is faster here.
It is also a required step before we can switch to Mercurial.
*) Misc: removed unused "snapshot" target.
*) Misc: support for Mercurial repositories.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 29 Mar 2013 18:09:06 +0000 |
parents | 1559423ec28b |
children | 482fda984556 |
rev | line source |
---|---|
599 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
599 | 4 |
5 use 5.006001; | |
6 use ExtUtils::MakeMaker; | |
7 | |
8 WriteMakefile( | |
9 NAME => 'nginx', | |
10 VERSION_FROM => 'nginx.pm', # finds $VERSION | |
11 PREREQ_PM => {}, # e.g., Module::Name => 1.1 | |
12 | |
13 ABSTRACT_FROM => 'nginx.pm', # retrieve abstract from module | |
14 AUTHOR => 'Igor Sysoev', | |
15 | |
681 | 16 CCFLAGS => "$ENV{NGX_PM_CFLAGS}", |
619 | 17 OPTIMIZE => '-O', |
599 | 18 |
5038
1559423ec28b
Merge of r4946, r4978: perl.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4473
diff
changeset
|
19 INC => join(" ", map { |
1559423ec28b
Merge of r4946, r4978: perl.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4473
diff
changeset
|
20 m#^/# ? "-I $_" : "-I ../../../../../$_" |
1559423ec28b
Merge of r4946, r4978: perl.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4473
diff
changeset
|
21 } (split /\s+/, $ENV{NGX_INCS})), |
599 | 22 |
23 depend => { | |
24 'nginx.c' => | |
25 "../../../../../src/http/modules/perl/ngx_http_perl_module.h" | |
26 }, | |
27 | |
28 PM => { | |
29 'nginx.pm' => '$(INST_LIBDIR)/nginx.pm' | |
30 } | |
31 ); |