… | |
… | |
8 | *** internals to do it's job. While it seems to work fine with perl-5.8, |
8 | *** internals to do it's job. While it seems to work fine with perl-5.8, |
9 | *** 5.7 and 5.6, it has not been tested with older versions. If it |
9 | *** 5.7 and 5.6, it has not been tested with older versions. If it |
10 | *** compiles and passes the testsuite, it should work. Otherwise you |
10 | *** compiles and passes the testsuite, it should work. Otherwise you |
11 | *** should either upgrade or fix it ;) |
11 | *** should either upgrade or fix it ;) |
12 | *** |
12 | *** |
13 | *** Marc Lehmann <pcg\@goof.com> |
13 | *** Marc Lehmann <schmorp\@schmorp.de> |
14 | *** |
14 | *** |
15 | |
15 | |
16 | EOF |
16 | EOF |
17 | } |
17 | } |
18 | |
18 | |
… | |
… | |
76 | sub MY::postamble { |
76 | sub MY::postamble { |
77 | <<EOF; |
77 | <<EOF; |
78 | |
78 | |
79 | # set \$VERSION in all modules |
79 | # set \$VERSION in all modules |
80 | setver: |
80 | setver: |
81 | \$(PERL) -pi -e 's/^(\\s*\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' *.pm Coro/*.pm Event/*.pm |
81 | \$(PERL) -pi -e 's/^(\\s*(our\\s*)?\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' *.pm Coro/*.pm Event/*.pm |
82 | |
82 | |
83 | EOF |
83 | EOF |
84 | } |
84 | } |
85 | |
85 | |
86 | |
86 | |