1 Revision history for Perl extension Module::Build.
3 0.36 - Sun Dec 20 15:02:38 EST 2009
5 No changes from 0.35_15 other than the version number.
7 Summary of major changes since 0.35:
11 - Added 'Build installdeps' action to install needed dependencies via
12 a user-configurable command line program. (Defaults to 'cpan'.)
14 - Command line options may be set via the PERL_MB_OPT environment
15 variable (similar to PERL_MM_OPT in ExtUtils::MakeMaker)
17 - Generates MYMETA.yml during Build.PL (new standard protocol for
18 communicating configuration results between toolchain components)
20 - Reduced amount of console output under normal operation (use --verbose
23 - Added experimental inc/ bundling; see Module::Build::Bundling for
26 New or changed properties:
28 - Added 'share_dir' property to provide File::ShareDir support;
29 File::ShareDir automatically added to 'requires' if 'share_dir' is set
31 - Added 'needs_compiler' property. Defaults to true if XS or c_source
32 exist. If true, ExtUtils::CBuilder is also added to build_requires.
34 - 'C_support' is no longer an optional feature. Modern ExtUtils::CBuilder
35 and ExtUtils::ParseXS added to the 'requires' list. This ensures that
36 upgrading Module::Build will upgrade these critical modules.
38 - Clarified that 'apache' in the license attribute indicates the Apache
39 License 2.0 and added 'apache_1_1' for the older version of the license
44 - Module::Build::Compat 'passthrough' style has been deprecated. Using
45 'passthrough' will issue warnings on Makefile.PL generation. See
46 Module::Build::Compat documentation for rationale.
50 - Replaced use of YAML.pm with YAML::Tiny; Module::Build::YAML is now
51 based on YAML::Tiny as well
53 - A new get_metadata() method has been added as a simpler wrapper around
54 the old, kludgy prepare_metadata() API.
56 - Replaced guts of new_from_context(). Build.PL is now executed in a
57 separate process before resume() is called. (This is generally only of
58 interest to Module::Build or toolchain developers) (RT#49350)
60 - Add support for 'package NAME VERSION' syntax added in Perl 5.11.1
64 - The "test" action now dies when using the 'use_tap_harness'
65 option and tests fail, matching the behavior under Test::Harness.
66 (RT#49080) [initial patch from David Wheeler; revised by David Golden]
68 - Updated PPM generation to PPM v4 (RT#49600) [Olivier Mengue]
70 - When module_name is not supplied, no packlist was being written; fixed
71 by guessing module_name from dist_version_from or the directory name
72 (just like ExtUtils::Manifest does without NAME) [David Golden]
74 - Failure to detect a compiler will now warn during Build.PL and be a
75 fatal error when trying to compile during Build. (RT#48918) [David
78 - Auto-detection of abstract and author fixed for mixed-case POD headers
79 (RT#51117) [David Wheeler]
81 - resume() was not restoring additions to @INC added in Build.PL
82 (RT#50145) [David Golden]
84 - When tarball paths are less than 100 characters, disables 'prefix'
85 mode of Archive::Tar for maximum compatibility (RT#50571) [David Golden]
87 - Merging 'requires' and 'build_requires' in Module::Build::Compat could
88 lead to duplicate PREREQ_PM entries; now the highest version is used
89 for PREREQ_PM. (RT#50948) [David Golden]
91 - Module::Build::Compat will now die with an error if advanced,
92 non-numeric prerequisites are given, as these are not supported by
93 ExtUtils::MakeMaker in PREREQ_PM [David Golden]
96 0.35_15 - Thu Dec 17 17:51:22 EST 2009
100 - Make sure PPM tests are skipped if IO::File is too old [David Golden]
102 0.35_14 - Thu Dec 17 16:02:14 EST 2009
106 - If not set, the 'module_name' is detected from 'dist_version_from'
107 or from 'dist_name'. The directory is no longer used. [David Golden]
109 - The 'share_dir' property no longer defaults to 'share' and must be
110 explicitly set instead; this fixes problems for CPAN distributions that
111 already have a 'share' directory for whatever reason [David Golden]
113 - Change t/00-compile.t test for more portability [David Golden]
115 - Skip ppm.t if Pod::Html is not available [David Goldenj]
117 - Changed guts of inc::latest to work properly on older versions of Perl
120 - Ensure bundle_inc.t doesn't accidentally uninstall the installed M::B
121 during testing if the user had 'uninst=1' set during Build.PL
124 0.35_13 - Sat Dec 5 11:26:36 EST 2009
128 - Protect against tempfile errors when checking ExtUtils::Installed
131 0.35_12 - Fri Dec 4 23:06:49 EST 2009
135 - Protect inc/ bundling tests against broken ExtUtils::Installed
138 0.35_11 - Thu Dec 3 11:07:44 EST 2009
142 - The old API for prepare_metadata() has been restored to avoid breaking
143 distributions that were overriding it (e.g. BioPerl), but the method
144 has been marked deprecated and may be made private or may disappear in
145 some future version of Module::Build. [David Golden]
147 - A new get_metadata() method has been added as a simpler wrapper around
148 the old, kludgy prepare_metadata() API. [David Golden]
150 0.35_10 - Tue Nov 24 22:49:19 EST 2009
154 - bundle_inc.t is more careful about permissions and open filehandles
155 to avoid failures/skips on Win32 [David Golden]
157 - Fix compilation error in Module::Build::Platform::VMS (RT#51766)
160 - Don't generate a MANIFEST.SKIP during distclean and add any generated
161 MANIFEST.SKIP to cleanup list [reported by Zefram, fixed by David Golden]
163 - Module::Build::ModuleInfo version parsing would fail if a module sets
164 its $VERSION from another module, but the other module is not installed.
165 We now try to detect such failures, prepend 'lib' to @INC and try again.
168 - MYMETA.yml used to be generated from scratch, overriding any
169 customizations used to create META.yml. Now, if META.yml exists, that
170 will be used as the base for MYMETA and only prereq fields will be
171 updated (to reflect any dynamic configuration); also, 'dynamic_config'
172 will be set to false and 'generated_by' will be updated [David Golden]
174 0.35_09 - Thu Nov 19 01:30:42 EST 2009
178 - The DB package should not be included in 'provides' in META files
181 - Fixed t/xs.t build failures in bleadperl for noexec temp directories
184 - Adjusted order of @INC in resume() (fixes par.t, ppm.t, xs.t fails):
185 @INC = @new_additions_to_inc, @saved_additions_to_inc, @default_inc
188 - Skip bundle_inc.t tests if bundled Module::Build for test can't be
189 tweaked (Works around test crashes on Win2) [David Golden]
193 - 'C_support' is no longer an optional feature. Modern ExtUtils::CBuilder
194 and ExtUtils::ParseXS added to the 'requires' list. This ensures that
195 upgrading Module::Build will upgrade this critical modules.
196 ExtUtils::CBuilder no longer requires a compiler, so it is "safe" to
199 0.35_08 - Mon Nov 16 22:38:28 EST 2009
203 - Multiple tests were failing due to dependency problems. Author
204 dependencies have been largely removed from core 'requires' into
205 optional features. Feature prereq detection and messaging have been
206 expanded and bugs on older Perls have been removed.
208 0.35_07 - Sat Nov 14 17:14:39 EST 2009
212 - Auto-detection of abstract and author fixed for mixed-case POD headers
213 (RT#51117) [David Wheeler]
215 - resume() was not restoring additions to @INC added in Build.PL
216 (RT#50145) [David Golden]
218 - When tarball paths are less than 100 characters, disables 'prefix'
219 mode of Archive::Tar for maximum compatibility (RT#50571) [David Golden]
221 0.35_06 - Fri Nov 13 14:51:28 EST 2009
225 - Added experimental inc/ bundling; see Module::Build::Bundling for
226 details. [David Golden and Eric Wilhelm]
228 - Clarified that 'apache' in the license attribute indicates the Apache
229 License 2.0 and added 'apache_1_1' for the older version of the license
230 (RT#50614) [David Golden]
234 - Merging 'requires' and 'build_requires' in Module::Build::Compat could
235 lead to duplicate PREREQ_PM entries; now the highest version is used
236 for PREREQ_PM. (RT#50948) [David Golden]
238 - Module::Build::Compat will now die with an error if advanced,
239 non-numeric prerequisites are given, as these are not supported by
240 ExtUtils::MakeMaker in PREREQ_PM [David Golden]
242 - Made MYMETA generation non-fatal if fields required for META.yml
243 are missing [David Golden]
245 - Added Pod::Simple to requirements for manpage support; avoids
246 problems if a user has a broken Pod::Man/Pod::Simple. (RT#50081)
249 - Won't die if installed Pod::Readme is broken [David Golden]
253 - Fixed Module::Build::Notes POD [David Golden]
255 - Some commands had become silent by default, so added a few short status
256 messages so users know something actually happened [David Golden]
258 - Cleaned up Changes file formatting [David Golden]
260 - Removed most PERL_CORE customizations from test files due to
261 reorganization of dual-life modules in core (RT#49522) [David Golden]
263 0.35_05 - Wed Oct 28 17:20:59 EDT 2009
267 - Fix test failure in t/actions/installdeps.t when $^X is not the default
270 - Work around $VERSION numbers in ActiveState with multiple underscores
271 that prevent Module::Build from installing on Win32 [David Golden]
273 - Fix bug cleaning compatibility Makefile when older ExtUtils::Manifest is
274 installed [David Golden with help from David Cantrell]
278 - Suppressed more warnings from tests [David Golden]
280 - Add provisional support for 'package NAME VERSION' syntax added in
281 Perl 5.11.1 [David Golden]
283 0.35_04 - Fri Oct 23 11:20:41 EDT 2009
287 - Fix test failure if IPC::Cmd isn't installed [David Golden]
291 - Suppressed warning messages from various tests [David Golden]
293 0.35_03 - Wed Oct 21 21:20:59 EDT 2009
297 - The prepare_metadata() method used to take a YAML::Node object as an
298 argument for modification. The method now takes no arguments and just
299 returns a hash reference of metadata. [David Golden]
303 - Command line options may be set via the PERL_MB_OPT environment
304 variable (similar to PERL_MM_OPT in ExtUtils::MakeMaker)
308 - Updated PPM generation to PPM v4 (RT#49600) [Olivier Mengue]
310 - When c_source is specified, the directory scan will include additional,
311 less-common C++ extensions (RT49298) [David Golden]
313 - When module_name is not supplied, no packlist was being written; fixed
314 by guessing module_name from dist_version_from or the directory name
315 (just like ExtUtils::Manifest does without NAME) [David Golden]
317 - Bumped IO::File prereq to fix binmode failures in PPMMaker on Perl
318 prior to 5.8.8 [David Golden]
322 - Replaced use of YAML.pm with YAML::Tiny; Module::Build::YAML is now
323 based on YAML::Tiny as well [David Golden]
325 - Reduced amount of console output under normal operation (use --verbose
326 to see all output) [David Golden]
328 0.35_02 - Mon Sep 7 22:37:42 EDT 2009
332 - Added 'needs_compiler' property. Defaults to true if XS or c_source
333 exist. If true, ExtUtils::CBuilder is also added to build_requires.
336 - File::ShareDir automatically added to 'requires' if 'share_dir' is set
339 - Added 'Build installdeps' action to install needed dependencies via
340 a user-configurable command line program. (Defaults to 'cpan'.)
345 - Failure to detect a compiler will now warn during Build.PL and be a
346 fatal error when trying to compile during Build. (RT#48918) [David
349 - Fixed directory sorting failure in share_dir.t [David Golden]
351 - Property defaults that are data structures were being assigned as
352 references to new objects. Changed so that defaults are cloned instead.
353 (This mostly affects testing, which often creates multiple objects in the
354 same process) [David Golden]
356 - Simplified error message on exit under use_tap_harness [suggested by
359 - Fixed typemap search to use a dist-level typemap if a typemap is not
360 found in the directory with the *.xs file; (was manifesting as warnings
361 in Perl 5.6 tests) [David Golden]
365 - Replaced guts of new_from_context(). Build.PL is now executed in a
366 separate process before resume() is called. (This is generally only of
367 interest to Module::Build or toolchain developers) (RT#49350) [David
368 Golden, Eric Wilhelm, Ken Williams]
370 - Revised test helper classes to fix potential bugs and add new features
371 to make writing tests simpler and easier. Changes incorporated into
372 t/README.pod and t/sample.t as examples for new testing. [David Golden]
374 0.35_01 - Mon Aug 31 12:11:10 EDT 2009
378 - Generates MYMETA.yml during Build.PL (new standard protocol for
379 communicating configuration results between toolchain components)
382 - Added 'share_dir' property to provide File::ShareDir support;
383 set automatically if a directory called 'share' exists
388 - Fix the t/destinations.t fix. [David Golden, with thanks to Eric Wilhelm]
390 - Fix recursive test files in generated Makefile.PL (RT#49254) [Sawyer X]
392 - Guard against trying :utf8 when :utf8 isn't available
394 - The "test" action now dies when using the 'use_tap_harness'
395 option and tests fail, matching the behavior under Test::Harness.
396 (RT#49080) [initial patch from David Wheeler; revised by David Golden]
400 - Added t/README.pod and t/sample.t to guide developers writing new tests
401 [David Golden, with some code from Eric Wilhelm]
403 - Module::Build::Compat 'passthrough' style has been deprecated. Using
404 'passthrough' will issue warnings on Makefile.PL generation. See
405 Module::Build::Compat documentation for rationale.
407 0.35 - Thu Aug 27 09:12:02 EDT 2009
411 - Fix t/destinations.t segfault on 5.6.2 [David Golden]
413 0.34_06 - Sat Aug 22 21:58:26 EDT 2009
417 - Multiple test fixes for OS2 [Ilya Zakharevich]
419 - Generated.ppd files use :utf8 if possible (RT#48827) [Olivier Mengue]
421 - Fixed preservation of custom install_paths on resume (RT#41166)
424 - Warn instead of crashing when Pod::Man tries to create files with
425 colons on vfat partitions on unix (RT#45544) [David Golden]
427 0.34_05 - Sun Aug 9 22:31:37 EDT 2009
431 - When auto_configure_requires is true (the default), Module::Build will
432 only add last 'major' version of Module:Build (e.g. 0.XX) to
433 configure_requires to avoid specifying a minor development release not
434 available on CPAN [David Golden]
436 0.34_04 - Sat Aug 8 11:02:24 EDT 2009
440 - Added documentation warning that 'get_options' should be capitalized
441 to avoid conflicting with future Module::Build options and changed
442 the examples accordingly.
444 0.34_03 - Sat Aug 8 07:39:16 EDT 2009
448 - Fixed failing xs.t if /tmp is mounted noexec (RT#47331) [David Golden]
450 - Fixed failing debug.t on VMS (RT#48362) [Craig Berry]
452 - Prevent par.t from dying on error in .zip extraction [David Golden]
454 - Fixed potential runthrough.t failure on 5.6.2 [David Golden]
458 - Archive::Tar changed from 'requires' to 'recommends' so non-authors
459 without IO::Zlib can still use Module::Build to install modules
460 [reported by Matt Trout, fix by David Golden]
462 0.340201 - Sun Aug 9 22:11:04 EDT 2009
466 - Version bump for Perl core for 5.10.1 release; no other changes
468 0.34_02 - Sun Jul 26 22:50:40 EDT 2009
472 - Bundled Module::Build::Version updated to bring into sync with CPAN
473 version.pm 0.77 [John Peacock]
475 0.34_01 - Sat Jul 18 16:32:09 EDT 2009
479 - Added --debug flag to trace Build action execution (RT#47933)
484 - Bundled Module::Build::Version version code updated to fix unsafe use
485 of $@ (RT#47980) [John Peacock]
487 0.34 - Tue Jul 7 16:56:47 EDT 2009
489 No changes from 0.33_06
491 0.33_06 - Sun Jul 5 10:11:40 EDT 2009
495 - Bundled version code will use pure Perl on 5.10.0 to work around
496 a corner case involving eval and locale [John Peacock]
498 - Reversed VMS patch from 0.33_03 [Craig Berry]
500 - PL_files in Build.PL that are in the bin/scripts directory should not be
501 installed as if they are scripts (fixed for case-tolerant systems).
502 [David Golden, reported by Craig Berry]
504 0.33_05 - Sun Jun 28 22:06:49 EDT 2009
508 - New 'auto_configure_requires' parameter (default 1) controls
509 whether Module::Build should add itself to configure_requires
510 in META.yml if not specified in Build.PL [David Golden]
514 - The default MANIFEST.SKIP created by the "manifest" action
515 was out of date. It will now use the installed MANIFEST.SKIP
516 and add some Module::Build and distribution specific items
517 to it. [Michael Schwern]
521 - configure_requires do not necessarily need to be in requires
522 or build_requires; warning to that effect has been removed
525 0.33_04 - Fri Jun 26 07:09:06 EDT 2009
529 - Don't try utf8 YAML I/O on Perl 5.6 [David Golden]
533 - configure_requires added to prereq report (RT#47254) [Curtis Jewell]
535 - updated Module::Build::Version to match forthcoming version.pm 0.77
536 (RT#47256) [John Peacock]
538 - skips xs.t and ppm.t when perl was not compiled with dynamic loading
539 since Module::Buld does not support static linking (RT#46178)
542 - skip failing test in par.t if Archive::Zip is broken [David Golden]
544 - Added YAML utf8 patch in 0.33_03 changes list
546 - Added attribution for patches in 0.33_03 changes list
548 0.33_03 - Mon Jun 22 17:22:56 EDT 2009
552 - Removes Module::Build from its own configure/build_requires
555 - ConfigData->feature() confirms that modules actually load successfully,
556 not just that they are present. (RT#43557) [David Golden]
558 - Module::Build::Compat handling of INSTALL*LIB (RT#43827)
559 [Tony Payne, David Golden]
561 - Module::Build::Compat and recursive test files (RT#39171) [Dave Rolsky]
563 - Fixed bug linking non-standard XS names on Windows (RT#38065) ["snaury"]
565 - Run PL files that don't generate any file (RT#39365)
566 [Matisse Enzer, David Golden]
568 - HTML generation failure no longer fatal (RT#36660) [David Golden]
570 - realclean might not delete Build.bat on Windows (RT#43863)
571 [Roy Ivy, David Golden]
573 - include_dirs parameter now works correctly when given a single
574 string argument (RT#40177) [David Wheeler]
576 - Lots of spelling fixes in the POD (RT#45528r) [Lars Dieckow]
578 - On Unix-like systems, tilde expansion is more liberal in username
579 characters accepted (RT#33492) [Jon Jensen]
583 - On MSWin32, bumped File::Spec prereq to 3.30 for a variety of fixes
585 - Add support for VMS in Unix compatibility mode (RT#42157)
588 - Added a can_action($name) method (RT#45172) [brian d foy]
590 - Documented that subclass methods should not permanently change
591 current directory (RT#46919) [David Wheeler]
593 - META.yml encoded in UTF-8 (RT#43765) [Olivier Mengue]
595 0.33_02 - Mon Jun 15 12:23:55 EDT 2009
599 - Fixed tests for bleadperl
601 0.33_01 - Sat Jun 13 20:24:42 EDT 2009
605 - Fixed RT#42724: consolidated VMS fixes [patch by Craig Berry]
607 - Fixed RT#46338: passthrough Makefile.PL cleans Makefile during distclean
609 - Fixed RT#45700: t/compat.t for HP/UX make
613 - Adds current Module::Build to configure_requires (and build_requires)
614 if no configure_requires is specified
616 - Always normalizes version number tuples in META.yml (e.g. 'v1.2.0')
617 (Partially addresses RT#46150)
619 - Normalizes a generated dist_version (e.g. from a .pm file) --
620 dist_version set manually in Build.PL is not normalized
622 - Documentation update for create_license
626 0.33 - Sun May 3 20:16:34 PDT 2009
630 - Fixed RT#45462: Compat.pm needs to reference 'Build.com' on VMS
631 [patch from John Malmberg]
633 - Fixed RT#45461: ext.t on VMS [patch from John Malmberg]
635 - Fixed RT#43861: Module::Build::PPMMaker has broken PPD name
636 versioning for v5.10+
638 0.32_01 - Tue Apr 14 17:14:22 PDT 2009
642 - Module::Build::Compat had stopped adding "PL_FILES => {}" when no
643 PL_files property was set in Build.PL; restored old behavior and fixed
644 tests and documentation related to this issue [David Golden]
646 - Caches ExtUtils::CBuilder object in a temporary stash instead of properties
648 - Fixed undef resources->license in META.yml (RT #44453).
650 - Use $^X instead of 'perl' in t/ext.t [David Golden] (RT #43485)
654 - Generated META.yml will indicate version 1.4 of the specification
655 (RT #37478) [patch from Alexandr Ciornii]
657 - Archive::Tar now the default for generating tarballs on all platforms
658 (avoids problems with incompatible tar binaries)
660 - dist_dir() now uses dist_name() and dist_version() accessors rather
661 than using its properties directly. [brian d foy] (RT #45038)
663 0.32 - Wed Feb 25 17:40:02 PST 2009
665 No changes since 0.31_04.
667 0.31_04 - Fri Feb 20 11:04:59 PST 2009
671 - Bumped Test::Harness prereq to 3.16 for latest PERL5LIB fixes (solves
672 test failures when installing Module::Build using CPANPLUS::Dist::Build)
675 0.31_03 - Sun Feb 8 14:54:01 PST 2009
679 - added a "prereq_data" action that prints a Perl data structure of
680 all prerequisites; can be loaded by external tools using eval()
685 - 'fakeinstall' action warns and skips without ExtUtils::Install 1.32+
686 [David Golden, reported by Zefram]
688 - allows Module::Build version mismatch when installing self; works around
689 limitations in CPANPLUS::Dist::Build [David Golden]
691 0.31_02 - Tue Jan 27 09:16:43 PST 2009
695 - tests now use File::Temp (added to build_requires); appears to fix
696 Win32 testing heisenbug on directory removal during high system loads
698 - use_tap_harness.t will skip unless a release version of TAP::Harness
701 - improved diagnostics to ensure_blib() tests in t/lib/MBTest.pm
705 - passthrough Makefile.PL will now play nice with cpantesters' on
706 exit(0) (RT#32018) [Eric Wilhelm]
710 - fix for doubling-up of --prefix (RT#19951)
712 0.31012 - Wed Jan 14 01:36:19 PST 2009
716 - t/tilde.t maybe actually fixed on MSWin32 now.
718 0.31011 - Mon Jan 12 21:57:04 PST 2009
722 - t/tilde.t had been failing on MSWin32 (RT#42349)
724 0.3101 - Mon Jan 12 13:52:36 PST 2009
728 - added 'mirbsd' as a Unix-type OS [BinGOs]
730 - added 'haiku' as a Unix-type OS (backported from bleadperl)
732 - skips certain tests on VMS (backported from bleadperl)
734 - sets $^X to absolute path in tests (backported from bleadperl)
736 0.31 - Sat Dec 20 15:03:33 2008
740 - Use of attributes as class methods is deprecated (this was never a
741 documented feature and appears to only have worked accidentally.)
743 0.30_02 - Mon Dec 15 12:23:55 PST 2008
747 - make Software::License dependency "softer".
749 0.30_01 - Thu Dec 11 18:25:53 PST 2008
753 - Added a recipe for writing a new action to the Cookbook
755 - Added a recipe for bundling Module::Build to the Cookbook.
759 - Clarified dist_abstract search procedure in API.pod (RT#41056) [Mario
764 - Workaround HARNESS_TIMER env issue in t/compat.t (RT#39635)
766 - Fix ~ expansion when $HOME is different from /etc/passwd as
767 when running sudo. [rt.cpan.org 39662]
769 - Fixed a small POD error in the Cookbook. [Damyan Ivanov]
771 - Unset group/other write permission bits when using Archive::Tar to
772 build the dist tarball. (RT#39804) [David Golden]
776 - We now support a 'create_license' parameter to new() that will
777 create a LICENSE file during the 'dist' phase with the full text of
778 the license. This requires Software::License on the author's
781 - Added lgpl2/lgpl3 entries to the supported licenses (RT#40532).
783 - Support for validating properties with a check subref. [David
788 - Defend against more stray environment variables interfering
793 - Updated our embedded version.pm to 0.76, enhanced documentation on
794 dist_version_from. [John Peacock]
796 0.30 - Thu Sep 25 20:57:36 2008
798 - First non-beta release since April 2007. In the meantime, Sarkozy
799 became president of France, the 35W bridge fell in Minneapolis,
800 Phelps won a lot of gold, a new tribe of indigenous people was
801 discovered in the Amazon, and Bob Barker stopped doing The Price Is
802 Right. As of this moment though, the U.S. economy still hasn't
803 collapsed completely.
805 0.2808_05 - Thu Sep 18 23:30:39 PDT 2008
807 - Skip test in t/ext.t which tickles shellwords() in Text::ParseWords
808 below 3.23 [David Wheeler, Ken]
810 - Fixed some shell-quoting issues in do_system() on Windows [Ken,
811 Schwern, reported by Curtis Jewell]
813 - Fixed t/xs.t failure for missing 'const char *' typemap in 5.6
816 - Added build_requires for Test::More 0.49 and Test::Harness 2.03.
817 Removed bundled Test::More (was not working for 5.005x anyway).
820 - Minimum required perl version is now 5.6.1. [Schwern]
822 0.2808_04 - Thu Sep 11 22:51:27 PDT 2008
824 - Backed-out incompatible Module::Build::ModuleInfo change (first in
827 0.2808_03 - Mon Sep 1 14:43:27 PDT 2008
829 - Made adjustments for the format changes of recent Test::Harness
830 output. [Nicholas Clark]
832 - Fixed the documentation for script_files to indicate that we search
833 bin/ for scripts by default. It has been this way for several
834 years. [Spotted by Ron Savage]
836 0.2808_02 - Wed Jul 9 16:45:08 PDT 2008
838 - Experimental support for TAP::Harness with --use-tap-harness option
839 and the tap_harness_args property. [David Wheeler & Eric Wilhelm]
841 - Added test_file_exts property for main-run tests other than '*.t'.
844 - Fixed getcwd()/rmtree() failure case on 5.10+mac where something is
845 unhappy about all of the tests deleting their distgen directory
846 before leaving it. [Eric Wilhelm & David Wheeler]
848 - Improved support for parsing qv() in modules' $VERSION
849 declarations, and made $VERSION-parsing errors more verbose. [Jos
852 - Integrated an omnibus patch for various VMS fixes. [Craig Berry &
855 - Some versions of Test::Harness (or something) seem to not be
856 stripping the ".t" suffix when outputting test reports, which was
857 causing one of our tests in t/compat.t to fail. Fixed. [Spotted by
860 - Most Unix platforms seem to allow hyphens in usernames, so we honor
861 this in our de-tilde-fying methods now. [Spotted by s-murata]
863 - If there are multiple assignments to the $VERSION variable in
864 someone's module and this generates warnings, tell the user what
865 line number the problem is at.
867 - Added 'gnu' and 'gnukfreebsd' as Unix variants. [Niko Tyni]
869 - Fixed a couple bugs in how we quote arguments to external processes
870 when they have to pass through the shell. Also much more
871 thoroughly tested our quoting now.
873 - Edited the Module::Build::API docs prose about the 'license' field
874 in response to some comments on the module-authors mailing list.
876 - Fixed a typo in some example code in the Cookbook. [Jeremy Leader]
878 - Custom typemaps were being looked for in places that don't quite
879 exist; fixed. [Michael G Schwern]
881 - QNX/Neutrino is now considered to be Unix. [rt.cpan.org 32214]
883 - Added 'gpl2' and 'gpl3' to the list of valid licenses. [Allen
886 - Fixed our Data::Dumper wrapper's sensitivity to users who might set
887 $Data::Dumper::Terse. [Spotted by Dominique Dumont]
889 - Documented the fix_shebang_line() method. [Elliot Shank]
891 - Applied the 'const' modifier to version() and xs_version() XS
892 functions we use during testing. [Robin Barker]
894 - Fixed processing of INC=, POLLUTE=, INSTALLDIRS=, and LIB= for
895 passthrough/small Makefile.PLs.
897 - perl Build.PL --sign=1 now signs. [Michael G Schwern]
899 - Fixed processing of INSTALLDIRS=whatever for compatibility
900 Makefiles. [Spotted by John Peacock]
902 - Zillions of special-cases have been added in Compat.pm for dealing
903 with the special Makefile system on VMS. [John E. Malmberg]
905 - Fixed some stuff in how VMS command-args get quoted. [John E. Malmberg]
907 - VMS now overrides localize_file_path() and localize_dir_path() so
908 we don't need to do special stuff in the general case. [John
911 - Added a few more VMS-specific entries to the default MANIFEST.SKIP
912 file that (sometimes) gets created during the 'manifest'
913 action. [John E. Malmberg]
915 - Fixed a catdir() that should have been a catfile() when creating a
916 ppmdist. [John E. Malmberg]
918 - Removed some assumptions about what makefiles are called (not
919 necessarily "Makefile") and how they take their arguments, to get
920 VMS tests working better. [John E. Malmberg]
922 - Fixed our check for Archive::Tar in the t/runthrough.t test, which
923 fixes a common failure on Win32. [Spotted by Chris Williams]
925 - Fixed a File::Spec mal-ism in t/destinations.t [Craig A. Berry]
927 - Exposed the internal ExtUtils::CBuilder object as part of our API,
928 via the cbuilder() method. [Zefram]
930 - Upgraded to version.pm 0.74 (fixes bug #30004.)
932 - Overwrite core (post-5.9.4) Module::Build installs (bug #20528.)
934 - Pass quiet() option to ExtUtils::CBuilder object.
936 0.2808_01 - Wed Oct 24 11:51:25 2007
938 - All .pm files in the Module-Build distribution (except for
939 M::B::Version.pm, which is kind of tied to version.pm) now have the
940 same $VERSION number explicitly specified.
942 - When checking prerequisites, the required version of perl is now
943 checked before we start finding the $VERSION declaration of the
944 distribution, which results in much more intuitive error messages
945 e.g. if the author is using 5.6-isms in their declaration but the
946 user doesn't have 5.6. [Slaven Rezic]
948 - Added 'artistic_2' license, corrected 'lgpl' license url (bug #29783)
951 - VMS find_perl_interpreter() is just $^X (bug #29810) [Craig A. Berry]
953 - Some large VMS fixes, mostly having to do with the non-case-
954 preserving nature of most VMS filesystems, but also correcting for
955 illegal characters in VMS file specs. [John E. Malmberg and Craig
958 - Fixed the _detildefy() method on VMS. [John E. Malmberg and Craig
961 - We now use a much more reliable method when Data::Dumper-ing saved
964 - When a module had 0.000 as its version, a few places in the code
965 thought the module had no version at all. This is now
966 fixed. [Andrew "Zefram" Main]
968 - When finding the default set of script_files, we now compute them
969 as relative paths, not absolute. [Spotted by Curtis "Ovid" Poe]
971 - Got rid of a call to eliminate_macros, which isn't needed in
972 Module::Build since there is no external make utility involved.
973 Override expand_test_dir to make up for the fact that the
974 home-grown glob() returns absolute, not relative, paths. [Craig
977 - Fixed a catdir() that needed to be catfile() in the .packlist
978 creation code. [John E. Malmberg]
980 - If a *.PL file ended abnormally during the build, processing should
981 have stopped, but it didn't. Fixed. [Matthew Cast and David
984 - Module::Build::Compat adds "require 5.XXXXX" to Makefile.PL when
985 'perl' is specified as a 'requires' prerequisite [David Golden]
987 - Refactored t/compat.t for modularity and transparency; added
988 labels for all tests; supressed subprocess output to
989 STDOUT and STDERR [David Golden]
991 - Fixed bug in perl_version_to_float when version is already a float
994 - Removed a mention of $build->{config} from the documentation, the
995 official interface to Config.pm settings is now via the
996 $build->config() and has been for some time. [Suggested by Michael
999 - Tweaked some text in the Cookbook to bring it into the modern age,
1000 and added a recipe for accessing Config.pm settings. [Ibid]
1002 - Lots of POD link/readability improvements to the Module::Build::API
1003 documentation [Salve J. Nilsen]
1005 - Added configure_requires as a new type of prereq. [Suggested by Adam
1008 - Patch 31156 from bleadperl: some filename dot and extension help
1009 for Module::Build on VMS. [Craig Berry]
1011 - Reworked the _detildefy() method so it doesn't depend on glob()
1012 anymore. This gets rid of a problem with spaces or other special
1013 shell characters in things like 'prefix' or 'install_path'
1014 entries. [Prodding by Eric Wilhelm]
1016 - Added midnightbsd to the list of Unix-like OSes we know about
1017 [Rafael Garcia-Suarez]
1019 0.2808 - Sat Apr 28 12:59:43 2007
1021 - Added is_vmsish(), is_windowsish(), and is_unixish() boolean
1022 convenience functions. Fixes some test failures on platforms where
1023 $^O is set to a value we don't know about (like 'gnu').
1025 - Upgraded to version.pm 0.7203. [John Peacock]
1027 - Support get_action_docs() =head2 style. [ewilhelm]
1029 - Workaround Test::Pod::Coverage @INC bug. [Eric Wilhelm]
1031 - Fixed the command-line args --extra_compiler_flags and
1032 --extra_linker_flags so they properly shell-split their arguments.
1034 0.2807 - Sat Mar 24 22:19:02 2007
1036 - Upgraded to version.pm 0.71. [John Peacock]
1038 - Removed a couple small constructs in the tests ("use warnings;" and
1039 "qw$foo bar$[1]") that caused test failures under perl 5.005.
1041 - Added support for an explicit default value of undef in prompt().
1044 - Improved our prompt() method, which could sometimes hang before the
1045 user got a chance to see a prompt. [Andreas Koenig]
1047 - Added a note about --allow_mb_mismatch to the error message that
1048 happens right before someone might want to use that parameter.
1050 - Added DragonflyBSD to the list of known Unix OSes.
1052 - get_action_docs() dies on error rather than twiddling $@
1054 - Made ModuleInfo's _evaluate_version_line() compatible with 'use
1055 version ...$VERSION' lines. [Eric Wilhelm]
1057 - Added some verbiage in Module::Build::API that officially blesses
1058 the _build/prereqs file for external consumption. [Suggested by Andreas Koenig]
1060 - Added test profiles support via the test_types property and "testall"
1061 target. [Eric Wilhelm, Jeff Lavallee]
1063 - Use syscopy() on OS/2 in copy_if_modified() so we make sure to
1064 overwrite any existing target file. [Ilya Zakharevich]
1066 - Removed seemingly silly '~~' test in t/tilde.t.
1068 - In our test-time utility library t/lib/MBTest.pm, we need to know
1069 about a few .exe-like extensions on OS/2. [Ilya Zakharevich]
1071 - In t/ppm.t, use DynaLoader::mod2fname() (if available) to determine
1072 the correct translation of our test module's name into a DLL
1073 name. [Ilya Zakharevich]
1075 - Avoid an unlink() error on OS/2 when fixing shebang lines. [Ilya
1078 - When we're protecting the world from the evils of long RedHat
1079 $ENV{PERL5LIB} variables, don't assume $ENV{PERL5LIB} is already
1080 defined. This gets rid of a huge number of warnings for some
1081 people. [Dave Rolsky]
1083 0.2806 - Fri Dec 15 22:20:14 2006
1085 - On some systems (haven't identified the actual problem yet)
1086 $ENV{PERL5LIB} can grow to enormous enough sizes that we can't
1087 launch any more subprocesses because the environment table is full.
1088 This is the now-infamous "Couldn't run Build.PL: Argument list too
1089 long" error. Now we detect such situations and trim the directory
1090 list to only include directories that actually exist, listed only
1091 once each. Not the ideal solution, but it should work.
1093 - Silence a warning in M::B::ModuleInfo that happens when the author
1094 is using the "$VERSION = eval $VERSION" idiom.
1096 - When running the 'testcover' action, do "cover --delete" if any of
1097 the test files have changed (we already did so if any of the code
1098 under test has changed). [Suggested by Chris Dolan, RT #23584]
1100 - Fixed a broken link in the documentation about PREFIX. [Spotted by
1103 - Changes to do_system() & friends on VMS to get system calls working
1104 much better there. [Craig Berry]
1106 - Added the "pardist" target which creates a PAR binary distribution
1107 akin to a PPM distribution. [Steffen Mueller]
1109 - Added the Interix platform as a Unix variant. [Stephen Hartland]
1111 - Improved the error message we emit when a distribution contains XS
1112 files but the user has no C compiler. [Suggested by Andreas Koenig]
1114 0.2805_01 Thu Sep 7 21:57:29 CDT 2006
1116 - Because of a weird behavior of YAML::Node, any distribution that
1117 used version.pm objects to define their versions was generating the
1118 wrong syntax for the versions in their META.yml file. They will
1119 now appear as strings like v3.42.1 or similar, including the
1122 - Upgraded to version 0.67 of version.pm. [John Peacock]
1124 - Added a contrib/ directory with a bash completion function for M::B
1125 actions and switches. [Julian Mehnle]
1127 - When we eval() the embedded version.pm code we will now die() if
1128 the eval() was unsuccessful, rather than continuing blindly on and
1129 dying mysteriously later.
1131 - Added a 'retest' action that lets users run the current regression
1132 tests on a previously-installed version of a distribution.
1134 * Instead of storing an entire dump of the Config.pm hash in the
1135 _build/ directory upon startup, we now just store any overrides the
1136 user or author has specified. Note that if you were doing anything
1137 you weren't supposed to be doing, like poking around in the
1138 internals of $buld->{config}, your code might break, so I've put
1139 the asterisk of incompatibility on this one just to cover my
1140 tuchus. [Idea originally by Randy Sims]
1142 - Made copying files via copy_if_modified() a little less chatty.
1144 0.2805 Sat Jul 29 22:01:24 CDT 2006
1146 - We now embed a copy of version.pm right in the
1147 Module::Build::Version source code, with John Peacock's blessing,
1148 in case the user has a rough time installing version.pm. This
1149 helps alleviate troubles people were still having with working out
1150 a seemingly circular dependency (even though version.pm now ships
1151 with a standard Makefile.PL too). A version.pm >= 0.661 installed
1152 on the system will take precedence over our bundled one. [John
1155 - Fix some test warnings (or failures?) related to version.pm
1156 numification. [John Peacock]
1158 - The top-level 'version' entry in META.yml files we'd generated was
1159 in the wrong format (it was being treated as a version.pm object
1160 rather than a serialized copy) due to a weird YAML::Node issue.
1163 - Don't 'use base qw(version)' anymore in our M::B::Version wrapper,
1164 just set @ISA directly, because some people have reported that the
1165 'use base' line is croaking.
1167 - Added an 'allow_mb_mismatch' parameter to suppress the startup
1168 check that ensures the version of M::B currently running is the
1169 same as the one initially used to run the Build.PL. Use with
1172 - Module::Build::ModuleInfo will no longer detect things that look
1173 like $VERSION assignments after an __END__ or __DATA__ token.
1175 - Updated documentation to mention the new mailing list on perl.org
1176 rather than the old one on sourceforge.
1178 0.2804 Sun Jul 16 16:41:25 CDT 2006
1180 - Added 'use version;' in Module::Build::Version, because some
1181 versions of base.pm won't automatically load version.pm when we do
1182 'use base qw/version/;'. [Spotted by Erik Tank]
1184 0.2803 Sat Jul 15 08:26:34 CDT 2006
1186 - The META.yml file in the last release was all screwed up, so the
1187 distribution wasn't indexed properly. Fixed in this release.
1189 0.2802 Fri Jul 14 22:40:34 CDT 2006
1191 - Added reliance on version.pm, which means we should deal much
1192 better with the wide range of version specifications one finds on
1193 CPAN. This is made possible by recent releases of version.pm that
1194 give the user a pure-perl option, so installing version.pm
1195 shouldn't be too onerous for most users. [John Peacock]
1197 - We should be accepting the default when we're in unattended mode,
1198 not acting dumb and ignoring both the default and the [empty]
1199 answer from the user. Fixed. [Spotted by Nik Clayton]
1201 0.2801 Sun May 21 00:07:40 CDT 2006
1203 - Module::Build::Compat's emulation of INC is incorrectly prepending
1204 a -I to the value of INC. This is incorrect because there should
1205 already be a -I on the value. I.E. it's "perl Makefile.PL INC=-Ifoo"
1206 not "perl Makefile.PL INC=foo" so Compat should not prefix a -I.
1209 - Native batch scripts under Windows should not be converted by
1210 pl2bat. [Spotted by Ron Savage]
1212 - Tweaked the way we determine whether a file is executable on Unix.
1213 We use this determination to decide whether to make it executable
1214 during installation. [Julian Mehnle]
1216 - Replaced a vestigial 'next' with 'return' now that the code is in a
1217 subroutine (htmlify_pods()), not a loop. [Ron Savage]
1219 - Fixed a guaranteed failure in t/signature.t when TEST_SIGNATURE was
1220 set. [Eric R. Meyers]
1222 - Fixed a test failure that occurred when testing or installing in
1223 unattended mode - the code to test whether unattended mode and
1224 attended mode are working properly was assuming that we started out
1225 in attended mode. [Steve Peters]
1227 - Improved our stand-in YAML generator that we use to generate
1228 META.yaml when authors don't have a copy of YAML.pm installed on
1229 their machine. It was unable to handle things like embedded
1230 newlines in the data, now it has a much more extensive escaping
1231 mechanism. [Stephen Adkins]
1233 - Revised the docs for --prefix and PREFIX. [Michael Schwern]
1235 0.28 Thu Apr 27 22:25:00 CDT 2006
1237 - When y_n() or prompt() are called without a default value and the
1238 build seems to be unattended (e.g. in automatic CPAN testing), we
1239 now die() with an error message rather than silently returning
1240 undef for prompt(), or looping indefinitely for y_n().
1242 - When searching for '.modulebuildrc', return the first HOME-like
1243 directory that actually contains the file instead of the first
1244 existing directory. Document the search locations and the order
1245 searched. [Spotted by David Golden]
1247 - Split the API documentation out of Module::Build::Authoring into
1248 its own document: Module::Build::API.
1250 - We should not emit a warning if a Module::Build subclass is
1251 required in a Makefile.PL that is not bundled in the current
1252 distribution; it may be installed on the user's system. [Spotted by
1255 - copy_if_modified() now preserves the executable bit of the source
1256 file. [Spotted by Julian Mehnle]
1258 - Fixed compatibility of our screen-scraping the Test::Harness output
1259 so we can recognize the most recent Test::Harness version. [Steve
1262 - Backing out a requirement added in 0.27_06 on the method y_n()
1263 to always include a default. This behavior would cause existing
1264 build scripts to start failing. We now fail with a missing default
1265 only when $ENV{PERL_MM_USE_DEFAULT} is set because there is no
1268 - Make install_types() method smarter with respect to custom install
1271 - Add documentation for the install_base_relpaths() and
1272 prefix_relpaths() methods. Improved their usage for a public API,
1275 0.27_10 Tue Mar 28 22:50:50 CST 2006
1277 - Added the create_packlist property, default true, which controls
1278 whether packlist files will be written during installation. This
1279 was already part of Module::Build 0.2609, but for some reason we've
1280 forgotten it in the 0.27_xx series. [Spotted by Steve Kirkup]
1282 - Document the versions of Module::Build where each feature, action,
1283 constructor argument, and method was first publicly documented.
1285 - More fixes for find_perl_interpreter() to work with BSD flavored
1286 UNIX: Ensure we always return absolute paths; throw an exception
1287 upon failure to find correct interperter; document everything.
1289 - We now include our own YAML.pm work-alike that we can use when the
1290 real YAML isn't installed. We might soon even start using it when
1291 YAML is installed, because the YAML API and dependency chain have
1292 been changing in unfavorable ways lately. [Stephen Adkins]
1294 - Fixed some shell-argument-quoting issues on VMS. In the process,
1295 we have added some support for avoiding tripping over
1296 shell-argument-quoting issues on other platforms too. [Initial
1297 patch by Craig A. Berry]
1299 0.27_09 Sat Mar 11 22:48:54 EST 2006
1301 - Fixed find_perl_interpreter() so we can find the perl executable
1302 when running from uninstalled perl even when $^X contains a
1303 relative path. [Yitzchak Scott-Thoennes]
1305 - Fixed warning message where we were printing the wrong field names.
1308 - Added a 'testpodcoverage' action that runs a POD coverage check for
1309 all modules in the distribution. [Yanick Champoux]
1311 - Added a Cookbook example of subclassing to modify an action. [Dylan
1312 Martin and David Golden]
1314 - When building HTML documentation, we were opening the POD file and
1315 not checking whether the open succeeded, which of course caused
1316 problems down the line if it failed. Now we do "or die(...)" like
1317 everywhere else. [Spotted by Joerg Braun]
1319 0.27_08 Fri Mar 3 21:22:41 CST 2006
1321 - Due to shell quoting issues and differences in syntax between
1322 various flavors of Windows, the code for the 'pl2bat' utility
1323 distributed with Perl has been incorporated into M::B::P::Windows.
1324 [Thanks to Dr Bean and Ron Savage for help testing and isolating
1327 - Modify add_build_element() so that it only adds elements if they
1328 don't already exist. [David Wheeler]
1330 - Fixed a bug in the 'pass-through' Makefile.PL in which we would die
1331 if CPAN::Shell->install returned false, but apparently this return
1332 value is unreliable. Now we only die if the module is actually
1333 unavailable after installation.
1335 - Fixed testing problems on VMS related to non-case-preserving
1336 filesystems. We now bundle Tie::CPHash in the distribution (just
1337 for testing purposes, it doesn't get installed) to help with
1338 this. [Craig Berry and Yitzchak Scott-Thoennes]
1340 - We incorrectly documented the 'dynamic_config' flag in the META.yml
1341 file as having a default value of false, but according to the
1342 META.yml spec (which, for heaven's sake, we wrote) its default
1343 value is true. Fixed. [Spotted by Adam Kennedy]
1345 - The have_c_compiler() method was dying if the ExtUtils::CBuilder
1346 module wasn't around, which is obviously an unhelpful thing to do.
1347 Now it just returns false. [Spotted by John Peacock]
1349 - Fix detection of $VERSION expressions that are not
1350 assignments. [Spotted by Chris Dolan]
1352 - Obfuscate one of our constructs that uses a $VERSION variable,
1353 because it was getting picked up by ExtUtils::MakeMaker's
1354 version-finder. [Spotted by Randal Schwartz]
1356 - The config_data script for querying and/or setting a module's
1357 config data was forgetting to call write() after setting config
1358 values (though setting feature values was working fine).
1359 Fixed. [Brian Duggan]
1361 - On Windows, remove the pl2bat generated 'Build.bat' script without
1362 the annoying "The batch file cannot be found." error. [Solution
1363 provided by RazTK and foxidrive on newsgroup alt.msdos.batch]
1365 - Our version comparisons should now work correctly with modules that
1366 use version.pm to delcare their versions (e.g. "our $VERSION =
1367 version->new('1.0.0')"). [John Peacock and Ron Savage]
1369 - We now create a Build.bat script on versions of Windows where it
1372 - Fixed the verbiage around choosing the correct make-alike on
1373 different platforms to suggest using 'perl -V:make'. [Suggested by
1376 0.27_07 Wed Feb 1 20:07:45 CST 2006
1378 - The notes() method now returns the new value when called with two
1379 arguments, just like when it's called with one argument. [Tyler
1382 - The notes() method now distinguishes among the values undef, 0, and
1383 the empty string, where previously it didn't. [Tyler MacDonald]
1385 - We now unshift(@INC) rather than push(@INC) for the directory where
1386 a build subclass lives, so that we're sure to pick up the right
1387 version and not some already-installed version. [perlmonkey]
1389 - The SIGNATURE file for version 0.27_06 (and I'm sure for lots of
1390 versions before that too!) was messed up, since we were modifying
1391 some files after signing. This has been band-aided for the time
1392 being by signing twice. [Reported by Chris Dolan]
1394 0.27_06 Mon Jan 23 21:44:54 CST 2006
1396 - Fixed an undefined-variable warning when building the META.yml file
1397 and the author hasn't used the 'module_name' mechanism. [Chris Dolan]
1399 - We should now work with recent (> 0.49) versions of YAML.pm when
1400 creating the META.yml file. [Yitzchak Scott-Thoennes]
1402 - The y_n() method now requires the default parameter, and the
1403 prompt() and y_n() methods have been improved with respect to
1404 how they behave/detect when there is no user to ask. We're now
1405 more consistent with MakeMaker, including respecting the
1406 PERL_MM_USE_DEFAULT environment variable. [Tyler MacDonald and
1407 Yitzchak Scott-Thoennes]
1409 - When building a README file using Pod::Text, work around a bug in
1410 Pod::Text 3.01, which expects Pod::Simple::parse_file to take input
1411 and output filehandles when it actually only takes an input
1412 filehandle. [Yitzchak Scott-Thoennes]
1414 0.27_05 Thu Jan 12 17:39:21 CST 2006
1416 - In t/common.pl, we were attempting to let the user's installed
1417 Test::More take precedence over ours, but getting thwarted by all
1418 the test scripts' loading Test::More beforehand. Fixed. [Spotted
1419 by Yitzchak Scott-Thoennes]
1421 - In various test scripts, we were outputting some strings that
1422 weren't strictly conformant with Test::Harness's expected input,
1423 though it didn't actually cause problems. Now we're more
1424 conformant, though not yet strict. [Spotted by Yitzchak
1427 0.27_04 Fri Dec 23 10:43:34 CST 2005
1429 - Removed experimental feature that extended the prerequisite system
1430 to apply ('requires', 'recommends', and 'conflicts') prereqs to all
1431 actions. Most of the internal extensiblity has been retained so
1432 that prereq types can easily be added, more selectively.
1434 - Added a 'prereq_report' action that shows the user a well-formatted
1435 list of all prerequisites, the versions required, and the versions
1436 actually installed. [David Wheeler]
1438 - Clarified the directory name that's created during the 'distdir'
1439 action. [Suggested by Tyler MacDonald]
1441 - Fixed a bug when creating the META.yml file without the help of
1442 YAML.pm - some common strings weren't quoted & escaped properly.
1443 Now only some uncommon ones are. [Spotted by Joshua ben Jore]
1445 - Fixed a bug in which an "UNINST=1" argument specified to a
1446 passthrough Makefile's "make install" wasn't actually seen by
1449 - Rather than dying when the Build script is run from the wrong
1450 directory, it now simply chdir()s into the right directory and
1451 keeps going. [Suggested by Dominique Quatravaux]
1453 - Added an "Examples on CPAN" section to the cookbook, with an
1454 initial entry pointing to John Peacock's SVN-Notify-Mirror
1457 - Add an invoked_action() method to return the name of the original
1458 action invoked by the user.
1460 - Add 'meta-spec' field to the generated META.yml file, including the
1461 version of the specification followed by the current Module::Build
1462 and the url where the specification can be found.
1464 - Introduced two actions, 'html' & 'manpages', that generate
1465 documentation for POD when the respective feature is enabled. The
1466 actions will generate the documents even if there is no set place
1467 to install to. However, if the actions are invoked as a dependency
1468 of another action (e.g. build), the documentation will only be
1469 built when there is a default or user-specified place to install to.
1471 - Added support for environment variable, 'MODULEBUILDRC', which can
1472 be used to specify the full path to an option file to use instead
1473 of the default location of ~/.modulebuildrc. A special undocumented
1474 setting of 'NONE' tells Module::Build not to load any user settings,
1475 so tests can be run without tainting from user options.
1477 - Documented and improved preliminary support for more Getopt::Long
1478 style options are supported, including boolean options (--verbose,
1479 --no-verbose), and use of hyphens in option names in addition to
1482 - The option to disable/enable reading of the ~/.modulebuildrc file
1483 is changed from 'skip_rcfile' to 'use_rcfile'
1485 - Allow the 'distmeta' action to continue when 'MANIFEST' is missing,
1486 omitting the generation of the 'provieds' field. [Steven Schubiger]
1488 - Fixed some failing regex from generated MANIFEST.SKIP file.
1490 - Fixed an edge case in $VERSION parsing where we thought a package()
1491 declaration was happening but it wasn't. [David Golden]
1493 - Added docs for the install_destination() and install_types() methods.
1495 0.27_03 (Beta for 0.28) Mon Oct 10 11:19:23 EDT 2005
1497 - We now use ExtUtils::CBuilder to do all compiling of C code (for
1498 example, when compiling XS modules). (This change actually
1499 occurred in 0.27_01, but it was mistakenly omitted from the Changes
1502 - Fixed an issue on Win32 (and other case-tolerant
1503 non-case-preserving systems, possibly like VMS?) in which the
1504 current working directory would sometimes be reported with
1505 different case, fooling us into thinking that we were in the wrong
1506 directory. [David Golden]
1508 - The extra_compiler_flags setting was not actually being passed
1509 along to ExtUtils::CBuilder so it could pass it along to the
1510 compiler. Now it is.
1512 - The synonyms 'scripts' and 'prereq' for 'script_files' and
1513 'requires' were broken in a previous version (0.27_01, probably),
1514 but now they're fixed. [David Golden]
1516 - Previously, we assumed that any custom subclass of Module::Build
1517 was located in _build/lib/. This is only true if the author used
1518 the subclass() method, though. We now use %INC to find where the
1519 custom subclass really is, so that we can "use lib" it. We also
1520 issue a warning if it seems to be outside the build directory.
1521 [Spotted by Peter Tandler]
1523 - Added a URL for each license type that we know about, which will
1524 appear as resources=>license: in the generated META.yml file.
1526 - If the user passes a no_index parameter to our constructor, we now
1527 pass that through when building the META.yml file. [Richard
1528 Soderberg, RT #9603]
1530 - A few more status messages can now be suppressed by using 'quiet'
1533 - Added some more entries to the default MANIFEST.SKIP file. [Chris
1536 - Our POD parser will now accept "AUTHORS" as well as "AUTHOR" when
1537 looking for the author list in a module. [David Wheeler]
1539 - When looking for the POD to auto-generate a README file, or for the
1540 AUTHOR or ABSTRACT for the distribution, we now also look for a
1541 *.pod with the same name as the *.pm file specified by
1542 'version_from'. [David Golden]
1544 - The recommended dependency on ExtUtils::ParseXS has been moved into
1545 the "C_support" auto_feature.
1547 - When building XS files, we now pass the -DVERSION and -DXS_VERSION
1548 flags to the compiler. [Spotted by Jerry Hedden]
1550 - If a distribution has XS files and Module::Build has not been
1551 configured with the "C_support" feature, we now issue a
1552 warning. [Suggested by Jerry Hedden]
1554 - Added a dir_contains() method.
1556 - Some versions of MakeMaker, CPANPLUS, and/or PAUSE thought that a
1557 certain line of our code was declaring a $VERSION when we didn't
1558 intend to. The line has been obscurified so they won't think that
1559 anymore. [Jos Boumans, RT #14226]
1561 - Added the Apache, MIT, and Mozilla licenses to the list of licenses
1562 that this module knows about. [Bob Ippolito]
1564 - Fixed a pretty significant typo in the documentation for
1565 auto_features. [Spotted by Jonas B. Nielsen]
1567 - In order to aid people who want to do customization of the META.yml
1568 file, we've added a "metafile" property that can then be easily
1569 overridden in subclasses, changed do_create_meta_yml() to
1570 do_create_metafile(), and split out the code that actually
1571 generates the YAML into a new method, write_metafile(). [David
1574 - Fixed a couple of non-helpful behaviors with extra_compiler_flags
1575 and extra_linker_flags. These will automatically be run through
1576 split_like_shell() when given to new() as strings.
1578 - When the user doesn't have ExtUtils::ParseXS installed and we use
1579 the old 'xsubpp', the displayed command line for creating the .c
1580 file from the .xs file was missing its newline. Now it's got it.
1582 0.27_02 (Beta for 0.28) Fri Jul 15 07:34:58 CDT 2005
1584 - Provided initial support for the --prefix installation parameter,
1585 which acts like MakeMaker's PREFIX. It is still highly recommended
1586 NOT to use it when you could reasonably use --install_base or
1587 --install_path or --install_dest, but that's just because the way
1588 --prefix is designed is weird and unpredictable. Ultimately the
1589 choice rests with the installing user. [Patches by Michael Schwern
1592 - Fixed a bug in subclass() which prevented people from using it to
1593 subclass subclasses of Module::Build. [Chris Dolan]
1595 - Added a 'pure_install' action, which for the time being is
1596 identical to the 'install' action. [Jos Boumans]
1598 - Fixed a POD error in an L<http://...> tag. [Offer Kaye]
1600 - Note several options for automatically creating a new module dev
1601 tree. [Suggested by Eric Wilhelm]
1603 - Removed some hard-coded references to File::Spec::Unix in the
1604 creation of HTML docs, which should help that code work in more
1605 places, and help people not to panic when they look at it. [Spotted
1608 - We now use Pod::Readme by default (instead of Pod::Text) to
1609 generate the README file when the 'create_readme' option is used.
1610 If Pod::Readme is not installed, we will still fall back to using
1611 Pod::Text. [Robert Rothenberg]
1613 - The values of the "prefix", "install_base", "install_path", and
1614 "install_dest" parameters can now begin with "~" or "~user", and
1615 we'll de-tilde-ify them by using glob().
1617 - The (optional) auto-creation of the README and Makefile.PL files
1618 have been moved from the 'distdir' action to the 'distmeta'
1619 action. [David Golden]
1621 - When looking for a .modulebuildrc file, we now use a fancier method
1622 of trying to find the home directory, because $ENV{HOME} isn't a
1623 very cross-platform variable. [Robert Rothenberg]
1625 - We now memoize the output of the internal _default_INC() method,
1626 since it uses backticks and might be kind of slow.
1628 - When processing XS files, we now look for a typemap in lib/ as well
1629 as using the system's default typemap. [John Peacock]
1631 - The DESTDIR, PREFIX, and INSTALL_BASE arguments to "make install"
1632 are now supported for pass-through Makefiles (they've been
1633 supported for quite a while as arguments to "perl
1634 Makefile.PL"). [Requested by Guillaume Rousse]
1636 - Test::Harness has changed its output format in recent versions,
1637 which threw off one of our tests. We now allow for this different
1638 format. [Reported by Scott Godin]
1640 - Fixed an issue that prevented Module::Build from upgrading itself
1641 using its own API (which is how CPANPLUS uses it). There are still
1642 some issues with this solution, however. See ticket #13169 in
1643 rt.cpan.org. [Reported by Jos Boumans]
1645 - Fixed a fatal error that occurred when a distribution's author
1646 could not be determined from its POD nor from the call to
1647 Module::Build->new() in its Build.PL. See ticket #12318 in
1648 rt.cpan.org. [Reported by Jos Boumans]
1650 - Apparently on Windows and cygwin it's not possible to use the "-pi"
1651 switch to perl without a backup extension, so now we use ".bak" and
1652 remove the backup file when we're done. Thus the "dist" action for
1653 Module::Build itself can now be run on those platforms. [Yitzchak
1656 - Improved the handling of auto_features in the config_data access
1657 script. [Yitzchak Scott-Thoennes]
1659 0.27_01 (Beta for 0.28) Fri Apr 15 21:12:57 CDT 2005
1661 Backward-incompatible (but better) changes:
1663 * When using the 'install_base' option to choose a directory for
1664 installing everything, perl modules now go into lib/perl5/ instead
1665 of just lib/. It seems this is more consistent with people's
1666 expectations, and the way I had it before was a bit peculiar to the
1667 way I like things in my own home directory. [Michael Schwern]
1669 * When the user is using the 'install_base' option, scripts will now
1670 be installed by default in $install_base/bin/ rather than
1671 $install_base/script/ . [Jan Hudec and Michael Schwern]
1675 - The auto_features mechanism will now re-evaluate dependencies every
1676 time feature() is called for an auto-feature, rather than freezing
1677 the success/failure value during 'perl Build.PL' and using that
1678 value for all eternity (or module update, whichever comes first).
1679 This applies to both $build->feature() and
1680 FooModule::ConfigData->feature() calls. [Requested by many]
1682 - Added the meta_add and meta_merge mechanisms, which let the module
1683 author add/merge arbitrary entries into the META.yml file.
1685 - Now reads per-action default options from '$ENV{HOME}/.modulebuildrc'
1686 if it exists. Command line options override anything set in the rc file.
1688 - We now use ExtUtils::CBuilder to do all compiling of C code (for
1689 example, when compiling XS modules).
1691 - The creation of Unix man pages is no longer a strict necessity - it
1692 has now been turned into an 'auto-feature' contingent on the
1693 presence of Pod::Man and a location specified for man pages to go.
1695 - A user-specified 'install_path' setting will now take precedence
1696 over an 'install_base' setting. This allows the user to use
1697 'install_base' to set the base for all elements in one go, and then
1698 use 'install_path' to override specific paths or add paths for
1699 additional kinds of targets.
1701 - Split the main documentation from 'Module/Build.pm' into two
1702 sections. The user level documentation and overview remains in
1703 'Module/Build.pm', while a new document,
1704 'Module/Build/Authoring.pod', has been created for module authors.
1708 - new_from_context() was losing its arguments in some cases (and not
1709 because of inadequate training in forensic debate) - we now pass its
1710 arguments directly to the Build.PL script rather than merging them
1713 - Let resume() return an object blessed into the appropriate class
1714 if the user has provided a subclass, as specified by the
1715 'build_class' property. This allows current() and new_from_context()
1716 to behave more like factory methods returning objects of the correct
1717 class based on context. [Ray Zimmerman]
1719 - Refactored methods relating to parsing perl module files for
1720 package, version, and pod data into a new class:
1721 Module::Build::ModuleInfo. It should not be considered part of
1722 Module::Build's API, because we may split it out entirely as a
1723 separate CPAN module that we depend on.
1725 - Added new method Module::Build::prepare_metadata() for authors to
1726 override in order to add custom fields to META.yml.
1728 - We now use Test::More for our regression tests. If the user
1729 doesn't have it installed, we include a copy in t/lib/ that we can
1732 - When copying files in the 'distdir' action, set permissions to match
1733 the original files. [Julian Mehnle]
1735 - When adding files like META.yml to the MANIFEST, we now tell the
1736 user we're doing so by printing one of the "Added to MANIFEST: ..."
1739 - Added a runtime_params() method, which lets a module author see
1740 which parameters were overridden by the user on the command line
1741 (or in whatever paradigm the user originally invoked Module::Build
1742 from). [David Wheeler]
1744 - Added the current_action() method, which, surprisingly, returns the
1745 name of the currently running action. [David Wheeler]
1747 - Added docs for run_perl_script().
1749 - Added some stuff to the docs about why PREFIX is unsupported, and
1750 what to use instead. [Steve Purkis]
1752 - The simple get/set accessor methods for all the 'parameters' like
1753 verbose(), license(), etc. now have auto-generated documentation in
1756 - Created a Cookbook entry for 'Adding new elements to the install
1759 - We now add META.yml to the MANIFEST when META.yml is created, not
1760 when MANIFEST is created. [Spotted by Ron Savage]
1762 - Added some additional patterns to the suggested MANIFEST.SKIP
1763 contents, and changed the docs so that we encourage the user to use
1764 the MANIFEST.SKIP. [Ron Savage]
1766 - Eliminated a redundant recipe from the Cookbook, now that there are
1767 some more extensive recipes on how to add stuff to the
1768 build/install sequences.
1770 - Eliminated an undefined-variable warning when testing under perl 5.005
1772 - When building HTML documentation, 'html_backlink' and 'html_css'
1773 properties are now first-class properties, so they can be set from
1774 the command line. [Suggested by Sagar R. Shah]
1776 - Have script_files default to everything in bin. I believe this is
1777 the least surprising behavior. [Suggested by Michael Schwern]
1779 - If script_files is given a directory, consider each file in that
1780 directory tree as a script to be installed. This avoids having to
1781 remember to add to the script_files list every time you add a
1782 program. [Suggested by Michael Schwern]
1784 - We now only load Pod::Man when we actually need to build man pages.
1786 - We now make Test::Harness use our carefully-selected path to a perl
1787 executable regardless of Test::Harness's version. Previously we
1788 let it figure stuff out for itself if it was a reasonably modern
1789 version, but it's safer to make sure we're using the same perl
1792 0.2610 Fri Apr 15 08:25:01 CDT 2005
1794 - new_from_context() was losing its arguments in some cases (and not
1795 because of inadequate training in debate) - we now pass its
1796 arguments directly to the Build.PL script rather than merging them
1797 in afterwards. [Ray Zimmerman]
1799 - Fixed a bug in which config_data and feature data were being
1800 forgotten and no ConfigData.pm module would get written. [Ray
1803 - Added a recipe to the cookbook showing how to run a single test
1804 file from the command line. [William McKee]
1806 - For command-line arguments, we now accept the syntax "--foo=bar" in
1807 addition to "--foo bar" and "foo=bar". This seems to fit well with
1808 what GNU getopt and Getopt::Long do, and with people's
1809 expectations. [Adam Spiers]
1811 0.2609 Wed Mar 16 22:18:35 CST 2005
1813 - The html docs that were created during the first invokation of
1814 './Build' were being found and treated as pod that needed to be
1815 converted to html during subsequent invokations. We now are more
1816 specific about the directories we scan for pod that needs to be
1817 converted, effectively avoiding blib/html. [Ray Zimmerman]
1819 - If Pod::Man is not available, we now skip building man pages
1820 (rather than dying) and tell the user why.
1822 - We now write a .packlist file upon installation, in the same place
1823 that ExtUtils::MakeMaker does. [Johnny Lam]
1825 - On some Unix platforms (BSD derivatives, mostly) perl's $^X
1826 variable isn't set to the full path of the perl executable, just
1827 'perl', when the 'Build' script is run as './Build' and not 'perl
1828 ./Build'. This can lead to some other modules (maybe
1829 Test::Harness, maybe IO::File, I dunno...) getting very confused
1830 about where they are, and they try to load stuff from the wrong
1831 perl lib, and big trouble ensues. To fix this, we now set $^X to
1832 the value of Module::Build->find_perl_interpreter().
1834 - The 'distcheck' action will now die() if it finds an error in the
1835 MANIFEST, rather than just printing on STDOUT. [David Golden]
1837 - When the README and/or Makefile.PL are autogenerated using
1838 create_readme or create_makefile_pl, we now automatically make sure
1839 they're also listed in the MANIFEST file. [Suggested by Michael
1842 - Got rid of the t/MANIFEST file - it's superfluous, and it had
1843 zero-length, which some versions of Tar don't like. [William
1846 - Added a mention in the documentation that each property that new()
1847 accepts also has a corresponding get/set accessor. (In the version
1848 0.27_0x series each accessor method is mentioned explicitly in the
1849 docs.) [Omission spotted by Ian Langworth]
1851 0.2608 Wed Jan 26 19:46:09 CST 2005
1853 - Add workaround for test files because Devel::Cover causes
1854 require to fail when the argument to require is an expression
1855 involving File::Spec. We now assign the result of the File::Spec
1856 call to a variable and then call require with that variable.
1858 - Tilde-expansion is now performed on arguments passed to a
1859 compatibility-Makefile.PL [Spotted by Sam Vilain]
1861 - We now run the 'gzip' and 'tar' values through split_like_shell()
1862 when running the 'dist' action, so that e.g. the 'gzip' value can
1863 be set to something like "gzip -f --best" and it'll work
1864 correctly. [Spotted by Chris Dolan]
1866 - Work around some bad mojo between Fedora Core [with its very long
1867 @INC] and old versions of Test::Harness [with its propensity to
1868 compound the number of @INC entries] that produced an "argument
1869 list too long" error during testing. [assisted by Ville Skytta,
1870 David Golden, & Randy Sims]
1872 - Killed an infinite loop that would happen in y_n() in interactive
1873 mode if the author provided no default value. [Max Maischein]
1875 0.2607 (Bug fix release in 0.26 series) Sat Dec 18 14:14:09 CST 2004
1877 - Instead of freezing @INC in the 'Build' script to the value it had
1878 when Build.PL was run, we now just add those additional values that
1879 aren't part of the default compiled-in @INC. [Michael Schwern]
1881 - The run_perl_script() method will now propagate any extra entries
1882 in @INC (such as those added by "use lib" or the -I command-line
1883 switch) to the subprocess. This helps situations in which you want
1884 to tell the subprocess where to find a certain module, for
1885 instance. [Michael Schwern]
1887 0.2606 (Bug fix release in 0.26 series) Tue Dec 7 22:33:11 CST 2004
1889 - Fixed a linking bug on Win32, in which compiled C code object files
1890 never got linked in with the modules being built. [Dominic
1893 - Fixed a bug in the new_from_context() method in which any arguments
1894 passed made us die. [Spotted by Jos Boumans]
1896 0.2605 (Bug fix release in 0.26 series) Tue Nov 30 07:16:13 CST 2004
1898 - Fixed a bug in which zero-length arguments for hash-valued
1899 parameters (e.g. " --config foo= ") weren't being allowed.
1901 - The tests now play better with environments in which version.pm is
1902 pre-loaded, like in bleadperl. [John Peacock & Michael Schwern]
1904 - Fixed a syntax error in one of the tests under perl 5.005.
1906 0.2604 (Bug fix release in 0.26 series) Wed Nov 17 14:32:42 CST 2004
1908 - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in
1909 which an array reference passed as an argument was returned as an
1910 array reference, rather than as a list. [Spotted by Steve Hay]
1912 - module_name() will now return '' instead of undef when module_name
1913 is not set. This eliminates a couple uninitialized-value
1914 warnings. [Suggested by Michael Schwern]
1916 - The expand_test_dir() method will now skip dotfiles (like ._foo.t,
1917 which sometimes gets automatically created on Mac systems) when
1918 'recursive_test_files' is in effect. [Tom Insam]
1920 0.2603 (Bug fix release in 0.26 series) Mon Nov 15 10:28:00 CST 2004
1922 - Added documentation for the new_from_context() method.
1924 - Completely rewrote the split_like_shell() method for the Windows
1925 platform so it works like the command.com shell. [Randy Sims]
1927 0.2602 (Bug fix release in 0.26 series) Thu Nov 4 11:19:29 CST 2004
1929 - The two bug fixes in 0.2601 gnashed against each other incorrectly,
1930 resulting in a Win32 bug in split_like_shell(). Fixed. [Spotted
1931 by Steve Hay & Randy Sims]
1933 - Removed a couple of 'use warnings' statements from the code - they
1934 were causing compile failures on 5.005_04, where warnings.pm isn't
1935 available. [Blair Zajac]
1937 0.2601 (Bug fix release in 0.26 series) Wed Nov 3 20:09:27 CST 2004
1939 - Fixed some backslash problems with split_like_shell() on
1942 - Fixed a bug in split_like_shell() in which leading whitespace was
1943 creating an empty word, manifesting as something like "gcc - no
1944 such file or directory" during tests. [Spotted by Warren L. Dodge]
1946 0.26 Sat Oct 9 17:51:01 CDT 2004
1948 - Removed some language from the Module::Build::Compat documentation
1949 that encouraged people to include a Build.PL without a Makefile.PL.
1950 Also changed "a replacement for MakeMaker" to "an alternative to
1951 MakeMaker" in the main documentation, which is basically what I
1952 meant all along (i.e. a replacement for MakeMaker in your
1953 particular build process - MakeMaker is never going to be fully
1954 replaced in the perl world at large, of course), but some people
1955 got the impression I was a little more truculent toward MakeMaker
1958 - Added the formal concepts of "features" and "config data" for
1959 distributions. This allows the module author to define a certain
1960 set of features that the user can switch on and off (usually
1961 according to whether they have the proper prerequisites for them),
1962 and to save build-time configuration information in a standardized
1963 format. See the main documentation of Module::Build for more
1964 details. (Note that the name of this system was called
1965 "BuildConfig" for a while in beta, but now it's called
1968 - Added an 'auto_features' capability, which simplifies the process
1969 of defining features that depend on a set of prerequisites.
1971 - Added the 'get_options' parameter, which lets module authors
1972 declare certain command-line arguments their Build.PL can accept
1975 - Changed the split_like_shell() method to use the shellwords()
1976 function from Text::ParseWords (a core module since 5.0), which
1977 does a much better job than the split() we were using.
1979 - Added a 'testpod' action, which checks the syntactic validity of
1980 all POD files in the distribution using Test::Pod. This eliminates
1981 the need for doing so in a regression test. [Initial patch by Mark
1984 - Added a process_files_by_extension() method, which generalizes the
1985 kind of processing (essentially just copying) that happens for .pm
1986 and .pod files, and makes it available to other user-defined types
1987 of files. See the new cookbook entry.
1989 - Improved compatibility with version.pm when authors are using
1990 version objects as their $VERSION variables. Now
1991 version_from_file() can deal with these objects. Currently we
1992 stringify them right away, but perhaps in the future we will
1993 preserve them as objects for a while.
1995 - During 'distdir' and 'distmeta' actions, die a bit more gracefully
1996 if there's no MANIFEST (i.e. explicitly say that a MANIFEST is
1997 required). [Spotted by Adrian Howard]
1999 - Eliminated a recursive dependency between creating the MANIFEST
2000 file and creating the META.yml file. [Spotted by Dave Rolsky]
2002 - On Win32, where a single directory might be known variously as
2003 "Module-Build-0.25_03" or "MODULE~1.25_", we now use
2004 Win32::GetShortPathName($cwd) to verify that the 'Build' script is
2005 being run from the correct directory, rather than just a string
2008 - The add_to_cleanup() method will now accept glob()-style patterns
2009 in addition to explicit filenames. Also documented the fact that
2010 they can be specified in either Unix-style or native-style
2013 - Passing a PREFIX value to a pass-through Makefile 'make install'
2014 now has the same effect as passing it to 'perl Makefile.PL' (it
2015 dies with a helpful message).
2017 - Added the 'testcover' action, which runs a test suite using
2018 Devel::Cover. [Dave Rolsky]
2020 - Added the 'lib' and 'arch' installation directories to the search
2021 path for the 'diff' action, since they won't necessarily (though
2022 they usually will) be in @INC at installation time. [Suggested by
2025 - The "=head3" POD directive isn't supported in older podlators
2026 (particularly Pod::Man), so we don't use it anymore.
2028 - Fixed a typo & improved the docs in the SUBCLASSING section. [Ron
2031 - Added the '.tmp' suffix to the default MANIFEST.SKIP file, which
2032 should avoid adding things like pod2htmi.tmp to the MANIFEST [Ron
2035 - Backup files from Emacs, containing the string '.#' in their names,
2036 should no longer find their way into the blib/ directory (and from
2037 there into installation directories).
2039 - Worked around an unpleasant interaction between version.pm and the
2040 version-checking code that makes sure Module::Build's version
2041 hasn't changed during the lifetime of the 'Build' script. [Reported
2042 by Trevor Schellhorn]
2044 - Fixed a problem in htmlify_pods() that would produce test failures
2045 on Cygwin (and probably elsewhere). [Yitzchak Scott-Thoennes]
2047 - Fixed a test failure on Cygwin (and probably elsewhere) in
2048 t/compat.t, resulting from empty environment variables being set to
2049 the empty string (as opposed to simply being unset) by their mere
2050 presence in the "EXPORT:" list.
2052 - Fixed a fatal error that occurred when the author specified
2053 'dist_author' manually in their Build.PL script. [Spotted by Ron
2056 - The 'provides' section of the META.yml file wasn't being built
2057 properly on Win32, because of a mismatch between URL-format and
2058 native-format pathnames. Fixed. [Reported by Robert Rothenberg]
2060 - The progress message "lib/Foo.xs -> lib/Foo.c" was previously being
2061 output even when the Foo.c file wasn't being rebuilt. It's now
2064 - Fixed a couple of places in Compat.pm where it could have forgotten
2065 which perl interpreter it had been run with ($^X isn't very
2068 - On some systems, the way we updated the timestamp on the
2069 "lib/Foo.bs" file (one of the output files for XS-based modules)
2070 was failing. It's been replaced by a simple call to utime().
2072 - Fixed a problem in t/compat.t that prevented it from being run
2073 individually using 'make test TEST_FILES=t/compat.t'. The problem
2074 was that a couple environment variables (TEST_FILES, MAKEFLAGS)
2075 were being passed through to subprocesses, and confused them.
2077 - Fixed an important typo in the documentation for the 'install_base'
2078 parameter ('libdoc' and 'bindoc' were switched). [Ray Zimmerman]
2080 - The pass-through Makefiles (type 'small' or 'passthrough') now
2081 support the TEST_FILES parameter to 'make test'.
2083 - Fixed a fatal error that would occur on perl 5.005 when building
2084 HTML documentation, because its version of Pod::Html was old and
2085 didn't like some of the parameters we fed it. [Spotted by Blair
2088 - The final line of the generated pass-through Makefile was missing
2089 its trailing newline, which is now fixed. [Chip Salzenberg]
2091 - We now depend on YAML version at least 0.35 and at most version
2092 0.49, so that we don't pick up a new (and backward-incompatible) beta
2095 - Squashed a warning in t/basic.t about '"Foo::Module::VERSION" used
2096 only once', and one in PPMMaker about $^V being undefined. [Blair
2099 - Added a couple temporary output files from HTML documentation
2100 generation to the cleanup list. [Toby Ovod-Everett]
2102 - The PodParser module will now only extract paragraphs in the
2103 'AUTHOR' section of the pod if they contain an '@' character. This
2104 tends to do a better job, heuristically speaking, of returning
2107 - Added regression tests and a helper method ( add_build_elements() )
2108 for adding new elements to the build process. Also some
2111 - Wrote a recipe in the Cookbook for adding new elements to the build
2112 process, and a recipe for changing the order in which the steps in
2113 the build process will occur.
2115 0.25 Sun Apr 25 11:12:36 CDT 2004
2117 - During the 'distdir' action, if no MANIFEST.SKIP file exists, we
2118 will now create a reasonable default one. [Randy Sims]
2120 - In Makefile compatibility mode, some arguments (like UNINST,
2121 TEST_VERBOSE, etc.) given to 'make' are now recognized and passed
2122 through to Module::Build. [Randy Sims]
2124 - The regression tests now make sure that several pass-through
2125 Makefile.PL parameters are dealt with correctly.
2127 - Added support for the 'LIB' parameter to passthrough
2128 Makefile.PLs. [Spotted by Jesse Erlbaum]
2130 - Passing a 'PREFIX' parameter to a passthrough Makefile.PL was
2131 supposed to make it die with a helpful error message, but instead
2132 it just ignored it and blindly tried to install to the wrong place.
2133 This is now fixed. [Spotted by Jesse Erlbaum]
2135 - Added an extra_compiler_flags() accessor method.
2137 - If the 'recursive_test_files' option was turned on, the test files
2138 weren't sorted, but returned in an apparently random order. Now
2139 they're sorted. [Martyn Peck]
2141 - Documented the 'tar' and 'gzip' parameters to the 'dist' and
2144 - The generation of HTML documentation now works (it was accidentally
2145 partially implemented with an itchy patch-application finger in
2146 0.24). [Randy Kobes]
2148 - Fixed a fatal bug when building META.yml with YAML.pm and
2149 'dynamic_config' is set. [Reported by Jaap Karssenberg]
2151 - Fixed some incorrect error messages that occurred when
2152 compiling/linking C sources went awry.
2154 - If the author uses a custom builder subclass, that subclass will
2155 now be loaded correctly in the passthrough Makefile.PL if the
2156 author uses the 'small' or 'passthrough' Makefile.PL options in
2157 Module::Build::Compat. [Martyn Peck and Jaap Karssenberg]
2159 - If the author uses a custom builder subclass created dynamically
2160 through the subclass() method, passthrough Makefile.PLs (of type
2161 'passthrough' or 'small') didn't work properly, because the custom
2162 builder module wouldn't be loaded at the right time. This has been
2163 fixed. [Reported by Toby Ovod-Everett]
2165 - In M::B-generated 'traditional' Makefile.PLs, the entries in
2166 'PREREQ_PM' are now sorted ASCIIbetically rather than randomly.
2168 - The install_types() method will now return any additional types
2169 given as 'install_path' arguments, as well as all elements of the
2170 current 'install_sets' entry. This makes it easier to add new
2171 types of installable objects to the mix.
2173 - As a consequence of the previous change, there is no longer any
2174 need to have an explicit 'install_types' data member, so it has
2177 - In the second example code for the Module::Build->subclass()
2178 method, the Module::Build module needed to be loaded before calling
2179 its methods. [John Peacock]
2181 - Fixed minor error in the POD structure of Module::Build and
2182 Module::Build::Platform::VMS docs.
2185 0.24 Wed Feb 25 15:57:00 CST 2004
2187 - Fixed a problem with incude_dirs not being propagated to the 'ccs'
2188 file when compiling XS files on Win32. [Randy Sims and Steve Hay]
2190 - In 0.23, Module::Build::Compat->fake_makefile() started choking
2191 when no 'build_class' parameter was supplied in the Makefile.PL.
2192 Since these Makefile.PLs still exist on CPAN, we now default
2193 'build_class' to 'Module::Build', which was the old 0.22 behavior
2194 anyway. [Reported by Martin Titz and Jeremy Seitz]
2196 - Added documentation for the 'include_dirs' parameter to
2199 - Changed the no-op command on Win32 from 'rem' to 'rem>nul' inside
2200 pass-through Makefiles. [Randy Sims]
2202 - The 'autosplit' parameter now accepts an array reference if
2203 multiple files should be split. [Jaap Karssenberg]
2205 - find_perl_interpreter() will now use $^X (if absolute), $ENV{PATH}
2206 (if $^X isn't absolute), and $Config{perlpath}, in that order.
2207 Also, we now make darn sure the result is the same version of perl,
2208 by checking Config::myconfig() for a match against the current
2209 perl. [Reported by Edward Sabol]
2211 - Fixed a fatal error on Win32 (and any other platform that doesn't
2212 define an installation location for Unix-style man pages) during
2215 0.23 Sun Feb 8 22:01:18 CST 2004
2217 - Fixed a compatibility problem in pass-through Makefiles (created by
2218 Module::Build::Compat). Some 'make' utilities (for example, BSD
2219 make) didn't like a '@' by itself on a line, so we stole some
2220 'NOOP' code from MakeMaker to fix it. [Reported by Mathieu Arnold]
2222 - Added a 'ppm_dist' action, which just makes the PPD file and then
2223 makes a tarball out of the blib/ directory. [Randy Sims]
2225 - The @INC of the parent process is now propagated to child processes
2226 when processing *.PL files. [Reported by Jaap Karssenberg]
2228 - We now only attempt to fix the shebang line on a script if the
2229 shebang line matches the regex /perl/i . This fixes some instances
2230 where people put shell scripts in their distributions. [Jaap
2233 - We no longer generate a 'requires', 'recommends', 'conflicts',
2234 etc. entry in the META.yml file if there's no data to go in it.
2236 - Added a documentation reference to Michael Schwern's wiki for tips
2237 on conversion from MakeMaker to M::B. [Randy Sims]
2239 - If there are script_files, we now add EXE_FILES to the
2240 'traditional' Makefile.PL generated by M::B::Compat. [Suggested by
2243 - Documented the 'test_files' parameter to new(). [Reported by Tony
2246 - Fixed a problem in "Build help <action>", which didn't find the
2247 correct help chunk if <action> was the final element in a POD
2248 list. [Jaap Karssenberg]
2250 - Fixed a problem in the get_action_docs() method which gave
2251 incorrect results if the method was called more than once in the
2254 - Fixed a problem in which actions defined by user subclasses
2255 wouldn't be available via the pass-through Makefiles created by
2256 Module::Build::Compat. [Reported by Jaap Karssenberg]
2258 - We now use Data::Dumper instead of our own ad-hoc serialization
2259 routines to create the 'traditional' Makefile.PL
2260 arguments. [Suggested by Yuval Kojman]
2262 0.22 Sat Jan 10 22:05:39 CST 2004
2264 - On Unixish platforms, the syntax "FOO=BAR /bin/baz arg arg" now
2265 works when present in $Config{ld}. This solves a problem on Mac OS
2266 X 10.3. [Reported by Adam Foxson]
2268 - The have_c_compiler() now also tests whether the linker seems to
2271 - Fixed a problem with creating the distribution tarball in which
2272 permissions would usually be all read-only. We now use our own
2273 file-copying routines rather than those in ExtUtils::Manifest,
2274 because those do some annoying extra permissions-setting stuff for
2275 no apparent reason. It makes me happy that this was a very very
2276 easy patch to make. [Reported by Thomas Klausner]
2278 - The compile_c() method now includes $Config{cccdlflags} in its
2279 command invocation. It's usually empty, but not always, so we
2280 didn't notice for a while. [Richard Clamp]
2282 - On some platforms it's common to have a $Config{make} defined, but
2283 no 'make' utility actually available. We now detect this and skip
2284 some 'make' compatibility tests. [Randy Sims]
2286 - Fixed a spurious testing failure on non-Unix platforms that
2287 happened because we accidentally call localize_file_path() on empty
2288 strings in the test suite. [Spotted by Randy Sims on Windows]
2290 - Made the 'name', 'abstract', 'author', and 'version' properties
2291 required when building a PPD file. [Spotted by Randy Sims, Dave
2292 Rolsky, & Glenn Linderman]
2294 - When building a 'traditional' Makefile.PL with
2295 Module::Build::Compat, we now use 'VERSION_FROM' when possible,
2296 rather than always using 'VERSION'. This way the Makefile.PL
2297 doesn't have to get modified every release.
2299 - Made some fixups to the 'PPM' info-file, improving compatibility
2300 with ActiveState's PPM tools. [Randy Sims, Glenn Linderman]
2302 - The 'dist_author' property can now accept multiple authors, see the
2303 docs for more info. [Randy Sims]
2305 - If the user doesn't have YAML.pm installed during ACTION_dist, we
2306 now create a minimal YAML.pm anyway, without any dependency
2309 - The 'distribution_type' field is no longer created in META.yml
2310 files, in accordance with the finding made at the London CLPAN
2311 meeting that it's essentially meaningless and ill-defined.
2313 - The 'dist' action now accepts an optional 'tar' parameter to use a
2314 system utility for building the tarball, and a 'gzip' parameter for
2315 compressing it. If these are used, Archive::Tar won't be invoked.
2316 This was added because Archive::Tar is producing some very
2317 non-cross-platform tarballs that many tar utilities can't handle.
2319 - During testing, if YAML.pm isn't installed, then we won't try
2320 making a tarball either, since this would invoke YAML to create the
2323 - Fixed a problem with chmod() being called incorrectly on MacOS
2324 (i.e. MacPerl, not Mac OS X). [Spotted by Paul Sanford Toney]
2326 - Fixed a problem with the --config flag not being treated properly
2327 (essentially ignored) on the command line for 'perl Build.PL' or
2328 'Build <action>'. [Spotted by Jakub Bogusz]
2330 - Added a new config() method to get at the Build object's notion of
2333 - Test::Harness is starting to contend for the Most Crotchety Module
2334 Award. Work around a few of its nits when setting harness
2335 switches. [Spotted by Diab Jerius]
2337 - Now the Build script will die() if we're run from the wrong
2338 directory, rather than trying to chdir() to what it thinks is the
2339 right directory and do its work there. See
2340 https://rt.cpan.org/Ticket/Display.html?id=4039 . [Chris Dolan]
2342 - Changed the manpage separator on OS/2 to '.'. [Ilya Zakharevich]
2344 - On OS/2, disable C compilation, since apparently it isn't working
2345 there. [Reported by Ilya Zakharevich]
2347 - Inserted a comment into auto-generated Makefile.PLs saying it was
2348 auto-generated. [Randy Sims]
2350 - Fixed some annoying behavior in generated passthrough Makefile.PLs
2351 when the user chose not to install Module::Build, or if
2352 installation failed. [Reported by Ilya Zakharevich and Richard
2355 - Moved the documentation for 'codebase' to the section where it's
2356 relevant. [Randy Sims, Glenn Linderman]
2358 - Fixed a have_c_compiler() failure on some platforms, we now define
2359 a boot_compilet() function (since we're compiling a library, not an
2360 executable). [Randy Sims]
2362 - Added a recipe to the Module::Build::Cookbook describing how to
2363 maintain compatibility with older versions of CPAN.pm [Jim Cromie]
2365 - Removed caveat about "looking for alternatives" in how hashes are
2366 specified on the command line, since an alternative has been found.
2368 - Previously most warnings about optional prerequisites looked like
2369 they were actually error messages about required prerequisites.
2370 This has been corrected. [Reported again by Sagar Shah]
2372 - Added support for building XS (and C in general) stuff on AIX.
2373 This was done by a small reorganization of prelink_c() method from
2374 Windows.pm to Build.pm, and it is only invoked for the platforms
2375 that need it invoked. AIX also massages some very naughty bits
2376 (MakeMaker macro variables) in $Config{lddlflags} that should never
2377 have been put there, but alas, they're there, so we find & resolve
2380 - Added OS/2 ($^O = 'os2') to the list of Unix-like platforms. This
2381 basically means that most platform-specific operations will be done
2382 in a Unix-like manner.
2384 - Pass-through Makefiles will now die() when they're given a PREFIX
2385 parameter, and suggest using 'destdir' or 'install_base' instead.
2386 Previously they just ignored the parameter and tried to install to
2387 the default location, which is clearly not what the user wanted.
2389 - Updated my email address in the documentation to a more recent
2392 - Add NetBSD to the list of Unix-like systems. [Adrian Bunk]
2394 - Add SVR5 to the list of Unix-like systems. [Rafael Garcia-Suarez]
2396 - We now use Pod::Parser to find the ABSTRACT and AUTHOR when it's
2397 available on the system. [initial patch by Randy Sims]
2399 - Fixed a little scalar/list buglet in a documentation example.
2401 0.21 Wed Oct 15 20:47:05 CDT 2003
2403 - Added a have_c_compiler() method.
2405 - Added documentation for the requires(), recommends(),
2406 build_requires(), and conflicts() methods.
2408 - On Unix platforms, we now create the "Build" script with a #! line
2409 matching the perl interpreter that was used to invoke the Build.PL
2410 script, rather than whatever is in $Config{startperl}. This avoids
2411 a potential warning about the interpreters not matching. [Spotted
2414 - The Unix version now uses the safer multi-argument form of system()
2415 when building distribution tarballs.
2417 - Added a regression test for the 'dist' action to the t/runthrough.t
2420 - Fixed a problem with File::Spec usage when creating the names of
2421 'libdoc' manual pages - the code wasn't dealing with the volume or
2422 file portions correctly on certain platforms.
2424 - When creating the names of the 'libdoc' manual pages, we no longer
2425 assume that pods are under the hard-coded paths 'blib/lib' or
2428 - Fixed a crashing bug that could sometimes occur when the
2429 distribution contained no 'lib' directory. [Chris Dolan]
2431 - Fixed a crashing bug that happened when the user had .PL files in
2432 the lib/ directory and didn't explicitly name them in a hash
2433 reference to the new() constructor. [Chris Reinhardt, bug #4036]
2435 - .PL files are now passed the names of their target file(s) on the
2436 command line when they run.
2438 - When YAML.pm wasn't installed, t/runthrough.t wasn't properly
2439 skipping some tests that required YAML. This is now fixed.
2442 - Added documentation for the dist_version() and dist_name()
2443 methods. [Spotted by Johan Vromans]
2445 - Existing values in $ENV{HARNESS_PERL_SWITCHES} are now respected
2446 and not squashed when we run the 'test' action. [Paul Johnson]
2448 - On cygwin, the separator string for manual page names has been set
2449 to '.'. Previously it was '::', inherited from Unix. [Yitzchak
2452 - Avoid a warning when Build.PL is run (i.e. when the new() method is
2453 called) and no MANIFEST file exists. [Michael Schwern and Kevin
2456 - Added documentation for the 'code' and 'docs' actions. [Steve
2457 Purkis and Mark Stosberg]
2459 - The internal method compile_support_files() has been renamed to
2460 process_support_files() in order to make it consistent with other
2461 processing methods. Note that it was never documented using the
2462 old name. It's still not documented, actually. Maybe later.
2464 - Skip the 'write' pseudo-entry in the 'diff' action's installation
2467 - Fixed a bug in which notes() set in the Build.PL before
2468 create_build_script() was called would get lost unless more notes()
2469 were also set afterwards. [Spotted by Dave Rolsky]
2471 - The process of building elements of the distribution is now driven
2472 by a list of build elements, paving the way for letting people add
2473 their own types of build elements in future versions of
2474 Module::Build (or in the current version with some difficulty).
2476 - Fixed some linking errors on Cygwin. [Randy Sims, Terrence Brannon]
2478 - Fixed a line-ending problem with detecting the dist_abstract
2479 properly on Cygwin. [Randy Sims]
2481 - Fixed a problem with signatures that occurred if 'distsign' was
2482 called before 'distdir' - the signature would be generated twice.
2484 - Added a 'create_readme' parameter to new(), which will use
2485 Pod::Text to generate a README from the main (dist_version_from)
2486 module file during the 'distdir' action.
2488 - We now refuse to run the 'Build' script if it was created using a
2489 different version of Module::Build. This has caused a couple of
2490 nasty bugs in the past, I don't want to know what it would cause in
2493 - Documentation for do_system() has been added. [Dave Rolsky]
2495 - run_perl_script() is now available as a class method, though it
2496 will need to (re-)find the perl interpreter in this case.
2498 - Added a new_from_context() method that authors of automated tools
2499 like CPANPLUS and CPAN can use instead of running all tasks as
2500 sub-processes. We also use it in the regression tests for
2501 Module::Build itself. ** Note that this method is currently
2502 undocumented because its name may change in the future. **
2504 - When signing distributions with Module::Signature, we now
2505 automatically add the SIGNATURE file to the MANIFEST, avoiding an
2506 unpleasant chicken/egg problem for the module author.
2507 [unpleasantness spotted by sungo]
2509 - In Module::Build::Compat, added support for the 'verbose' parameter
2510 to Makefile.PL [spotted by Soren Andersen, fixed by Michael
2513 - The Module::Build distribution now has a cryptographic 'SIGNATURE'
2514 file created by Module::Signature.
2516 - Added proper documentation for the subclass() method. [spotted by
2519 - Worked around a Config.pm bug in Red Hat 9 which prevented man
2520 pages from being installed in the correct places. [spotted by Ville
2523 - Fixed a Module::Build::Compat bug in which setting INSTALLDIRS
2524 caused a crash. [spotted by Ilya Martynov]
2526 0.20 Tue Aug 26 14:34:07 CDT 2003
2528 - Separated the 'build' action into two separate actions, 'code' and
2529 'docs'. This is similar to MakeMaker's separation of the 'all'
2530 target into 'pure_all' and 'manifypods'. This fixes a permissions
2531 hassle in which doing 'sudo Build install' would often create local
2532 doc files that needed superuser permissions to delete.
2534 - Enhanced the 'help' action - 'Build help foo' will now show the POD
2535 documentation for the 'foo' action.
2537 - Added a notes() feature, which helps share data transparently
2538 between the Build.PL and t/*.t scripts.
2540 - The installation process will now create man(1) and man(3) pages
2541 from POD in modules & scripts, and install them. We don't build
2542 man pages when there's nowhere to install them, such as on some
2543 Win32 or most Mac systems. [large patch by Steve Purkis, 5.005 fix
2546 - The 'distdir' action now copies files to the distribution
2547 directory, rather than making them hard links to the original
2548 files. This allows authors to do last-minute alterations of the
2549 files without affecting the originals. [Dave Rolsky]
2551 - If the author uses XS files in nonstandard locations, the copied
2552 versions of those files will now be cleaned up properly.
2554 - In invoking the 'test' action or invoking 'xsubpp', we now use the
2555 same perl executable as we use everywhere else, rather than blindly
2556 using $^X or $Config{perlpath} (neither of which are very
2559 - Fixed a problem with the 'install_path' parameter given to
2560 'Build.PL' being lost in subsequent actions. [Reported by Mathieu
2563 - Fixed yet another bug with installation directories, in which the
2564 'install_base' parameter wasn't being respected on the command
2565 line. [Spotted by Jonathan Swartz]
2567 - Changed the way the depends_on() method works inside action
2568 subroutines - now each action will only run once per dispatch()
2569 invocation (similar to how perl's require() function works). This
2570 helps avoid some difficult problems with dependency loops.
2572 - Changed the documentation for the 'autosplit' parameter to give
2573 reasons why it may not be a good idea to use, but no longer
2574 threaten to remove it. [Suggested by Martyn J. Pearce]
2576 - Improved the formatting of the 'traditional' Makefile.PL generated
2577 by Module::Build::Compat->create_makefile_pl. [Michael Schwern]
2579 - The 'traditional' Makefile.PL will now use the 'module_name'
2580 parameter (as NAME) if it's available, otherwise it will continue
2581 to use the 'dist_name' (as DISTNAME). [Michael Schwern]
2583 - Created read/write accessor methods for all our 'properties'.
2586 - The 'test_files' parameter can now be specified using glob() syntax
2587 (i.e. 't/*.t'), and the corresponding test_files() method is now a
2588 read/write accessor.
2590 - The location of the 'blib' directory is now a property of the Build
2591 object - nobody is likely to notice this change, with any luck, but
2592 it makes the design and code cleaner.
2594 - The 'disttest' and 'distsign' methods now chdir() back to the
2595 directory where they started, rather than to the base_dir of the
2598 - Improved comparisons of version strings containing underscore
2599 characters (indicating "beta" status). [Steve Purkis]
2601 - Added documentation for the 'dist_author', 'dist_abstract', and
2602 'codebase' parameters to new(), and for the 'ppd' action. [Dave
2605 - Added documentation for the up_to_date() and contains_pod()
2606 methods. [Dave Rolsky]
2608 - 'traditional' pass-through Makefile.PLs will now contain an
2609 INSTALLDIRS parameter matching the Build.PL's 'installdirs'
2612 - version_from_file() now ignores $VERSION variables that are defined
2613 in POD or comments. It can still be tricked by $VERSIONs in string
2614 literals, though. [Steve Purkis]
2616 - The code to find packages in module files now uses Steve's scanning
2617 method (above) to skip package-declaration-lookalikes in POD or
2620 - The 'disttest' action will now propagate its @INC settings to its
2623 0.19 Wed Jul 9 22:34:02 CDT 2003
2625 - Added support for the 'install_path' parameter, which allows custom
2626 specification of where things should be installed. This is a major
2627 improvement to Module::Build's functionality.
2629 - Added the 'install_base' parameter. Provides an easy way to
2630 install to local or alternative directory trees.
2632 - We now install scripts by default to $Config{installsitebin}
2633 instead of $Config{installscript}. Neither is a great choice, but
2634 the former is likely to be [analogous to] /usr/local/bin, and the
2635 latter is likely to be [something like] /usr/bin . If/when there's
2636 a $Config{installsitescript}, we'll start using that automatically.
2638 - Fixed a problem on Win32 in which C and XS files wouldn't be
2639 compiled properly, and the user would see an error about 'Can't
2640 locate object method "format_compiler_cmd"'.
2641 (http://rt.cpan.org/Ticket/Display.html?id=2391)
2643 - We now use the correct perl interpreter (via
2644 Module::Build->find_perl_interpreter) in pass-through makefiles.
2646 - The t/compat.t test now uses $Config{make} instead of just 'make'
2647 to test makefile compatibility. This fixes some failures on Win32.
2648 We also skip this test entirely if no make utility is available.
2650 - Alternative distribution layouts are now supported via the
2651 'pm_files', 'pod_files', 'xs_files', 'PL_files', and 'script_files'
2652 parameters to new(). This should help people transition from
2653 MakeMaker, and might even help us write an automatic transition
2656 - Added tests to t/runthrough.t that check to see installation is
2657 happening correctly.
2659 - Added experimental code to build a .ppd file, in support of
2660 ActiveState's "Perl Package Manager". [original patch by Dave
2663 - For authors who use Module::Signature to sign their distributions,
2664 we now create the SIGNATURE file right in the distribution
2665 directory, rather than creating it in the top-level directory and
2666 copying it into place. This solves problems related to having
2667 files get out of date with respect to their signatures.
2669 - We now don't depend on Module::Info to scan for packages during the
2670 'dist' action anymore, because it's way too aggressive about
2671 loading other modules that you may not want loaded. We now just
2672 (ick, yuck) scan the .pm files with a regular expression to find
2673 "package Foo::Bar;" statements.
2675 - Silenced some annoying copyright/logo output from Microsoft 'nmake'
2676 during Makefile compatibility testing. [Randy W. Sims]
2678 - Command-line arguments may now either be specified using the syntax
2679 '--foo foovalue' as well as the traditional syntax 'foo=foovalue'.
2680 The former is often more convenient for shell tab-completion when
2681 the value is a filename (as in 'Build test --test_files t/basic.t').
2683 - Command-line arguments may now include non-named parameters, which
2684 make some actions more natural. For instance, the 'diff' action
2685 may now be invoked as 'Build diff -u' rather than as
2686 'Build diff flags=-u'.
2688 - Pass-through Makefile.PLs now convert unknown Makefile.PL
2689 parameters to lower-case and hand them to Build.PL, rather than
2690 ignoring them. This means we only have to account for the
2691 differences in the interface, not the entire interface, in
2692 translating parameters.
2694 - We now issue a warning & don't proceed if asked to make a distdir
2695 and there's no MANIFEST or it's empty.
2697 - Moved INSTALL to INSTALL.txt to increase compatibility with various
2698 odd versions of 'make' during 'make install' on case-insensitive
2699 filesystems (like nmake on Win32, often). Only affects the
2700 Makefile compatibility layer. [reported by Andrew Savige]
2702 - Module::Build->known_actions() now works as a class method.
2704 - Pass-through makefiles now list each action individually rather
2705 than using a ".DEFAULT" catch-all. This improves compatibility
2706 with 'nmake' on Win32, and probably some other less common 'make'
2707 dialects. [Andrew Savige]
2709 - We're now more aggressive about testing the pass-through makefiles,
2710 e.g. making sure they can run 'all' and 'test' targets, and making
2711 sure the Makefile itself actually exists.
2713 - Fixed a problem with check_installed_status() when installed
2714 version contains non-numeric characters like underscores.
2716 - Fixed a problem with a bareword 'File::Spec' in one of the test
2717 scripts that caused it not to compile under 5.8.0 (but is fine
2720 - Fixed a problem with the 'destdir' installation parameter on
2721 platforms that have volume identifiers in path names (like "C:" on
2722 Win32). The identifier is now stripped from installation
2723 directories before prepending the destdir path. The destdir path
2724 may still have a volume identifier on it.
2726 - Added an 'add_to_cleanup' parameter to new() that calls
2727 add_to_cleanup() immediately for the given files.
2729 - The distribution directory (e.g. Sample-Module-0.13/ ) will now be
2730 deleted during the 'clean' or 'realclean' actions.
2732 - During testing of modules, blib/lib and blib/arch are now added as
2733 absolute paths, not relative. This helps tests that load the
2734 modules at runtime and may change the current working directory
2735 (like Module::Build itself does during testing).
2737 - The $Config{cc} entry on some people's systems is something like
2738 'ccache gcc', so we now split that string using split_like_shell().
2741 - Added documentation for 'extra_linker_flags' parameter, and added a
2742 corresponding 'extra_compiler_flags' parameter. [original patch by
2745 - The pass-through Makefile created by Module::Build::Compat now
2746 supports MakeMaker options like POLLUTE=1 and INC. We also just
2747 warn & skip when we see any unknown MM parameters, rather than
2748 dying. [Dave Rolsky]
2750 - Fixed an error about how @INC and $ENV{PERL5LIB} interact during
2751 the testing of M::B itself. [jk <billy2000@fastmail.fm>]
2753 - The pass-through Makefile doesn't include 'recommended' M::B
2754 dependencies in the Makefile anymore, since they're not strictly
2755 necessary. In particular, this makes installing M::B itself
2758 - A new 'create_makefile_pl' parameter lets you use
2759 Module::Build::Compat during the 'distdir' (or 'dist') action to
2760 automatically create a Makefile.PL for compatibility with
2761 ExtUtils::MakeMaker. The parameter's value should be one of the
2762 styles named in the Module::Build::Compat documentation.
2764 - When compiling C code, we now respect 'pollute' and 'inc'
2765 parameters. (XXX - needs docs) [Dave Rolsky]
2767 - Made the creation of the "install map" more generic. (XXX - needs
2770 - Fixed a problem in which add_to_cleanup() didn't note cleanup files
2771 unless create_build_script() had been called already. [Dave Rolsky]
2773 - During 'Build dist', we no longer have to load each .pm file (via
2774 Module::Info) to determine the $VERSION numbers inside. Instead,
2775 we call our internal version_from_file() method, which is the same
2776 thing MakeMaker and PAUSE and search.cpan.org do. Also fixes a
2777 failure when Module::Info is installed in a nonstandard directory.
2778 [reported by Teun Burgers]
2780 - Fixed some failing test code on Windows - open files can't be
2781 deleted. [Andrew Savige]
2783 - The Cygwin platform is now treated as a flavor of Unix rather than
2784 a flavor of Windows. [chocolateboy]
2786 - We're now more aggressive about adding temporary C compilation
2787 files (*.c, *.bs) to the cleanup list. [Dave Rolsky]
2789 - When constructing the list in META.yml of packages provided by this
2790 distribution, we now use the same rules as the PAUSE scanner does
2791 when a single .pm file contains multiple VERSIONs. [Andreas Koenig]
2793 - check_installed_status() now works as both a class method and an
2794 object method (and is documented so). [Spotted by Dave Rolsky]
2796 0.18 Tue Apr 8 13:24:23 CDT 2003
2798 - We now rewrite the shebang lines of scripts ourselves, rather than
2799 relying on MakeMaker routines to do it. MakeMaker changed the way
2800 this happened (not the result, but where the code lived) a few
2801 times. [Suggested by Richard Clamp]
2803 - The scripts() method has changed to script_files(), and likewise
2804 the 'scripts' parameter has changed to 'script_files'. The old
2805 names can still be used for backward compatibility.
2807 - Support for the 'scripts' parameter (which is now 'script_files')
2808 was broken in 0.17, now it's fixed. [Richard Clamp]
2810 - We now recommend ExtUtils::ParseXS 2.02, which will fail to load
2811 with perl 5.005 or earlier (which is proper, because it doesn't
2812 work with those versions). When it fails to load, we still fall
2813 back to using the xsubpp script for XS parsing. [spotted by Dave
2814 Rolsky, fix suggested by Richard Clamp]
2816 - Now works on VMS - the Build script's shebang-line-equivalent
2817 wasn't being formed correctly there - though just about everything
2818 else worked fine. [Tested & patched by Michael Schwern]
2820 - Eliminated a warning that occurred if 'perl Build.PL' or the
2821 check_installed_status() method was run with -w. [Spotted by
2824 0.17 Sat Mar 29 18:06:01 CST 2003
2826 - Now works under perl 5.005_03. [Richard Clamp]
2828 - When building blib/ , .PL files are now processed before doing
2829 anything else. This means .PL files can be used in any of the
2832 - The locating and processing of .pm, .pod, .xs, .PL files and script
2833 files are now isolated into their own methods. This is aimed
2834 toward providing a stable interface for this stuff, so they can be
2835 overridden, parameterized, etc. They're not quite stable yet,
2838 - The internal lib_to_blib() method has gone away, because processing
2839 is now done by smaller specialized methods. This method had some
2840 duplicate assumptions about filenames that it's nice to get rid of.
2842 - .PL files are no longer automatically processed in the c_source
2843 directory, they must be specified manually in a 'PL_files'
2846 - Mention in the docs that it's useful to do "PL_FILES => {}" in a
2847 Makefile.PL if you're using both a Makefile.PL and a
2850 - Add several options to the 'license' field, so that we're in better
2851 sync with PAUSE and CPAN options. [Andreas Koenig]
2853 - Created a find_perl_interpreter() method that tries to locate the
2854 currently executing perl interpreter. Following a suggestion from
2855 Nicholas Clark <nick@ccl4.org> for Inline, we prefer an absolute
2856 path in $^X, then an existent path in $Config{perlpath}, then
2859 - Use the aforementioned perl to run scripts in run_perl_script().
2860 This fixes the spurious warning "WARNING: Configuration was
2861 initially created with 'foo', but we are now using 'bar'" that
2862 appeared a lot in version 0.16.
2865 0.16 Mon Feb 24 13:06:47 CST 2003
2867 - All three C compilers that perl supports on Windows environments
2868 (MSVC, BCC, and GCC) are now supported by Module::Build. We now
2869 reportedly pass all tests on Windows. [Randy W. Sims]
2871 - The test t/xs.t, which tests building of XS modules, will be
2872 skipped if no C compiler is found. [suggested by Randy W. Sims]
2874 - The "install" action accepts new "destdir" [motivated by Michael
2875 Schwern and Chip Salzenberg] and "uninst" parameters [by Dave
2876 Rolsky]. The former prepends an arbitrary directory to all
2877 installation paths (useful for package management), and the latter
2878 will tell ExtUtils::Install to remove any differing files that are
2879 "shadowing" the stuff you're installing from a different location,
2880 just like MakeMaker's "make install UNINST=1" command will do.
2882 - Made changes to the generated Makefile in Module::Build::Compat
2883 that much better support Windows platforms [after suggestions by
2886 - Added experimental support for creating distribution SIGNATURE
2887 files via Module::Signature. [Dave Rolsky]
2889 - Added experimental support for installing via the "only.pm" module,
2890 which allows loading specific versions of modules. Since this
2891 module is so new, the interface may still be changing. [Brian
2894 - Added support for installing executable scripts, via the 'scripts'
2895 parameter to new(), and the scripts() accessor method.
2897 - Fix an infinite loop that occurred when doing 'perl Build.PL
2900 - Fix up the formatting of the error message the user gets when
2901 prereqs aren't satisfied.
2903 0.15 Fri Jan 17 15:00:24 CST 2003
2905 - In link_c(), extra object files were mistakenly being treated as
2906 output files, not input files, in the up-to-date check. Fixed.
2908 - In up_to_date(), don't make an unnecessary copy of the file lists
2909 when they're specified as array references.
2911 - Split off the C compilation phase into its own method,
2912 compile_support_files(), for easier subclassing.
2914 - Start a stub of a 'manifypods' action.
2916 - Compiler optimizations weren't being included in C compilation
2919 - The 'extra_linker_flags' parameter wasn't being honored. Fixed.
2921 - The 'ccflags' Config.pm entry wasn't being properly split into
2922 separate arguments. Fixed.
2925 0.14 Fri Dec 13 14:06:29 AEST 2002
2927 - Added support for MacPerl (Mac OS version 9 and below), which (as
2928 far as I know) was never natively supported by MakeMaker. Still
2929 lacks support for the 'test' action (because Test::Harness
2930 requires forking, which MacPerl won't do) and compiling XS/C files
2931 (because I don't know how to invoke a compiler on MacOS, and one
2932 may not even be available). This change is brought to you by
2933 Michael Schwern and the letter '('.
2935 - Improved processing of .xs files. Now we use the new
2936 ExtUtils::ParseXS module if it's available, otherwise we use
2937 backticks and write the result to a .c file ourselves. This
2938 avoids the need to do cross-platform shell redirection.
2940 - Make sure all parts of 'Build test' use the not-yet-installed
2941 version of Module::Build. This only affects the tests for this
2942 module, not any of the module code itself. [Spotted by Schwern]
2944 - Oopsie - use $Config{ld} instead of $Config{cc} for linking.
2946 - Added a 'diff' action, which is useful for comparing the details
2947 of what you're about to install with what is already installed on
2948 your system. This uses File::Compare, which is in the core.
2950 - Fixed a problem on Windows in which the _build/ directory wasn't
2951 getting deleted during the 'realclean' action, because we had a
2952 file open in that directory. [Spotted by Michael Schwern]
2954 - delete_filetree() now always uses File::Path::rmtree(), regardless
2955 of whether the thing being deleted is a file or a directory. This
2956 helps remove things on obscure platforms with strange locking
2957 rules (or even not so obscure ones like MacOS). It also now
2958 reports the number of files or directories deleted (without
2959 recursing directory contents).
2961 - rm_previous_build_script() is gone, replaced by calls to
2964 - 'Build' now chdir()s in a BEGIN block, so the 'use Module::Build'
2965 statement will work correctly. Solves a problem on MacOS, where
2966 the 'Build' script may often be invoked from the wrong working
2967 directory. [Fix by Michael Schwern]
2969 - Internally we now use the multi-argument form of system() to run
2970 external commands (such as 'diff' or 'cc') whenever possible (and
2971 whenever we can't avoid system() altogether). Note that this
2972 means we have to handle splitting some strings (such as
2973 $Config{ccflags}) into argument lists like the shell would, which
2974 is a drag. However, the alternative would be to handle shell
2975 quoting of all arguments to commands ourselves, which is an even
2976 bigger drag across platforms and involves arbitrary filenames and
2979 - To handle the argument splitting mentioned above, a method
2980 split_like_shell() has been created. So far it's just doing naive
2981 processing. In practice, I've yet to actually see a %Config entry
2982 that uses quotes & spaces, so the splitting task is usually not
2985 - The 'test' action now takes a 'test_files' parameter, similar to
2986 the (undocumented) ExtUtils::MakeMaker TEST_FILES argument. Handy
2987 during development when fixing bugs.
2989 - Internally, the rscan_dir() method can now accept a predicate
2990 function that decides whether a file/directory should be matched.
2992 - We now issue a warning message when the author hasn't specified a
2995 0.13 Wed Nov 20 20:07:53 AEST 2002
2997 - 'cleanup' file lists are now written immediately, rather than at
2998 program termination. This helps avoid "phantom files" that don't
2999 get handled by the 'realclean' action. The internal
3000 write_cleanup() method (which was never documented) is now gone.
3002 - The 'blib/' directory is now properly cleaned up in more (all?)
3003 circumstances. Previously it could become a phantom if
3004 create_build_script() was never called.
3006 - Now scan the 'c_source' directory for .cpp (C++) files as well as
3007 .c files, and compiles them.
3009 - Use a 'phony' target for 'make manifest' in the pass-through
3010 Makefile, for the same reason as 'make install' (see version 0.12
3013 - Module::Build::Compat now accepts any known Config.pm key and
3014 passes it through to the Build.PL. Fixes a problem with CPANPLUS,
3015 which was passing INSTALLMAN1DIR.
3017 - The file 'META.yaml' has been re-named to 'META.yml' in order to
3018 cooperate better with systems that can only handle 3 characters
3021 - The t/xs.t test should give more informative error messages upon
3024 0.12 Thu Nov 14 18:31:47 AEST 2002
3026 - The META.yaml file was erroneously looking for 'build_depends'
3027 instead of 'build_requires'. [spotted by Iain Truskett]
3029 - Add prompt() and y_n() methods for use in Build.PLs
3031 - Do more to work with all versions of Test::Harness when setting
3032 the TEST_VERBOSE flag and running under the debugger [patch by
3035 - Include a test for verbosity handling
3037 - Make sure the blib/ directory is always cleaned up with the
3038 'clean' or 'realclean' action.
3040 - In a pass-through Makefile.PL, inform 'make' that 'install' is a
3041 "fake target", so that it works properly on case-insensitive
3042 filesystems like HFS+ with distributions that contain an INSTALL
3043 file. [patch by Brian Ingerson]
3045 - In Module::Build::Compat, show an example Makefile.PL that can
3046 install Module::Build and re-invoke itself in one fell swoop [Dave
3047 Rolsky and Autrijus Tang]
3049 - Improve the formatting of the Module::Build and
3050 Module::Build::Compat documentation.
3052 0.11 Fri Aug 23 18:50:46 AEST 2002
3054 - 'module_version' and 'module_version_from' have been replaced by
3055 'dist_version' and 'dist_version_from', which is what they really
3056 meant in the first place. 'dist_name' has been added.
3058 - 'module_name' is now just a way to set 'dist_name' and
3059 'dist_version_from' in a convenient way.
3061 - The 'name' in META.yaml is now the distribution name, not the
3062 (incorrect) module name. [spotted by Graham Barr]
3064 - Added the check_installed_status() and prereq_failures() methods
3065 for checking prerequisite information with the programmatic
3068 - check_installed_version() now uses check_installed_status()
3071 - Documented the create_build_script() method, which had escaped
3074 - create_build_script() now writes prerequisite information to the
3075 _build/ directory, for use by Module::Build::Compat.
3077 - Module::Build::Compat has documentation for a safer way to write a
3078 dummy Makefile.PL. [patch by Autrijus Tang]
3080 0.10 Wed Aug 7 19:36 2002
3081 - Recommend YAML 0.35 instead of 0.30.
3083 - Don't die during 'Build disttest' if YAML isn't installed. This
3084 fixes tests 5-10 in runthrough.t if YAML isn't installed.
3086 - Die if an unknown license type is used, but still default to
3087 'unknown' if no license is specified.
3089 - Use YAML::DumpFile() if we're using a recent YAML,
3090 YAML::StoreFile() otherwise.
3092 - Show specific error messages in runthrough.t.
3094 - Add a generated_by entry to the META.yaml file.
3096 - Skip a few tests if YAML isn't installed.
3098 0.09 Fri Jun 28 11:07:08 EST 2002
3100 - The 'distdir' action wasn't deleting the distribution directory
3101 before building it again. This meant that, say, if you did 'Build
3102 disttest' then 'Build dist', you'd end up with a blib/ directory
3103 in your distribution. I actually had this happen for version
3104 0.08, and it's not nice to distribute a blib/ on CPAN.
3106 - We now keep track of the 'base_dir', i.e. the top-level build
3107 directory, so we can change back into it if we change out of it.
3108 This necessitated a cwd() method, which uses the Cwd.pm module.
3109 I'm aware of Cwd's limitations, particularly under taint-mode, but
3110 I don't know a way around using it here.
3112 - The 'dist_dir' action now changes back into 'base_dir' directory.
3114 - We now do write_config() inside the create_build_script() method,
3115 not inside the new() method.
3117 - Simplified the find_version() method, and improved its error
3120 - Renamed module_name_to_file() to find_module_by_name(), and added
3121 a parameter specifying the directories to search in. Previously
3122 we searched in 'lib' and @INC, which wasn't correct in all
3125 - Patched the docs to change "Build test" to "./Build test"
3126 [Elizabeth Mattijsen]
3128 0.08 Wed Jun 26 20:30:56 EST 2002
3130 - Fixed the 'prereq' alias for the 'requires' parameter
3132 - Added some tests in t/basic.t to test the dependency checking
3134 - Added 'artistic' as a licensing option [Arthur Bergman]
3136 - Fixed some bugs in requires/prereq/recommends/conflicts/build_depends
3138 - Fixed a typo in the 'distclean' action that prevented its
3139 execution [Arthur Bergman]
3141 - Separated the linking phase of building XS items into its own
3142 link_c() method. Its interface is still unstable, so it's not
3143 documented yet. [suggested by Arthur Bergman]
3145 0.07 Jun 9 2002 15:46
3147 - We now generate a 'META.yaml' metadata file during 'Build dist'.
3148 This can be very useful for lots of things, none of which are
3151 - Added a 'dynamic_config' parameter, defaulting to false. This
3152 lets distribution systems (CPAN.pm, etc.) build, test, and install
3153 "easy" modules without having to execute the Build.PL at runtime.
3154 It's also a guarantee that the list of dependencies is exactly
3155 what is present in the metadata file, and won't be changed during
3158 - Added support for "recommended" and "build-time requirement"
3159 modules, besides those that are absolutely required. Also added a
3162 - Changed the 'prereq' field to 'requires' (the old name will
3165 - Added support for checking the installed version of perl as an
3166 explicit dependency.
3168 - Added a 'license' parameter to specify one of a fixed number of
3169 licenses for the distribution.
3171 - Fixed a bug in Module::Build::Compat that was preventing arguments
3172 from being processed properly. [patch by Ilya Martynov]
3174 - Make sure we're in the right directory when we write the cleanup
3175 file, since various ExtUtils::Install errors might leave us in an
3176 unknown directory. [patch by Ilya Martynov]
3178 - Specified the 'license', 'recommends', and 'dynamic_config'
3179 values in Build.PL, and changed 'prereq' to 'requires'.
3181 0.06 Apr 2 2002 17:44
3183 - Added the Module::Build::Compat module for assisting and
3184 explaining compatibility with ExtUtils::Makemaker and cohorts.
3186 - State is now saved using Data::Dumper instead of my ad-hoc
3187 mechanism, guaranteeing data integrity. Whitespace values broke
3188 in the former scheme.
3190 - Added the 'recommended' option, which works like 'prereq' but
3193 - Separated the various parameters into three groups: parameters
3194 that tell Module::Build what to do, Config.pm parameters, and
3195 user-defined parameters for each build (the module author is the
3196 'user' here). This helps avoid conflicts between names, and it
3197 was silly to have them all together. The three groups of
3198 parameters are subject to the same rules for overriding: values
3199 specified during a Build action take precedence over values
3200 specified at 'perl Build.PL' time, which in turn take precedence
3201 over values specified in the call to new().
3203 - Improved support for .PL files. Any .PL file in the lib/
3204 directory or the directory specified by 'c_source' will now get
3205 properly executed. I also added a 'PL_files' parameter that you
3206 can use in case the .PL doesn't create an obviously-named output
3209 - If a prerequisite condition is malformed, we now report a prereq
3210 failure and say why. Previously we issued a warning and kept
3214 0.05 10-Jan-2002 20:26
3215 - Added the Module::Build->subclass() method, which makes it easier to
3216 make quick-and-dirty subclasses of Module::Build.
3218 - Reorganized the docs a bit.
3220 - Added the 'testdb' action, and the 'debugger=1' argument to the
3221 'test' action, both of which run tests under the perl
3222 debugger. (idea: Dave Rolsky)
3224 - Added prerequisite checking (Dave Rolsky)
3226 - Fixed an unlikely-to-occur bug with misquoted strings in the
3227 'Build' script (spot: Dave Rolsky)
3229 - We're more careful about shush-ing warnings that
3230 ExtUtils::Manifest might emit (Dave Rolsky)
3232 - The 'help' action now auto-generates the list of actions (Dave Rolsky)
3234 - Added the 'distcheck', 'skipcheck', 'distclean', 'distdir', and
3235 'disttest' actions (Dave Rolsky)
3237 - We're a little more aggressive about cleaning up temporary files -
3238 we'll try to clean them up even when we don't have write permission
3239 on them. This isn't as dastardly as it sounds; if we /really/
3240 don't have permission, we won't be able to remove them no matter
3243 0.04 Fri Nov 16 16:55 2001
3244 - Added a 'manifest' action. It's just like MakeMaker's 'make manifest', it
3245 brings your MANIFEST file up to date with your distribution directory.
3247 - Reorganized some of the responsibilities of various methods, which
3248 allows modules to be built and tested programmatically.
3250 - The 'clean' action will now clean up files that were created more
3251 recently than the on-disk cleanup registry was written.
3253 - Undefined values from Config.pm are handled correctly now.
3255 - The dispatch() method will now accept explicit dispatch
3256 parameters, for use in a programmatic setting.
3258 - $ENV{TEST_VERBOSE} will be set in test scripts if the 'verbose=1'
3261 - Moved the test.pl script to t/basic.t
3263 - Created the t/xs.t script, which tests building a module with a
3266 - Fixed the loading of $^O-specific modules (there were no such
3269 - Added a 'darwin' platform module, which removes -flat_namespace
3270 from $Config{ccflags} while building .xs modules (it's a linker
3271 flag, not a compiler flag).
3273 - Now uses $^W instead of the 'warnings' pragma, which apparently
3274 provides compatibility with perl 5.005 (I've only tested it with
3277 - If a file called C<visual.pl> exists in the top-level directory,
3278 this file will be executed as a Perl script during 'Build test' and
3279 its output will be shown to the user. This is a good place to put
3280 speed tests or other tests that don't use the C<Test::Harness> format
3283 - The 'Build install' step will now put .xs-related things in the
3284 correct architecture-dependent libraries.
3286 - Added the 'autosplit' option, even though I think autosplitting is
3289 0.03 Sun Nov 11 14:58 CDT 2001
3290 - The 'perl Build.PL' step will now detect whether the current
3291 environment is "unixish", "windowsish", etc., and load the correct
3292 module (i.e. Module::Build::Platform::Unix). More specific
3293 modules may also be written for particular values of $^O.
3295 - Module::Build will now process any .xs files in the lib/
3296 directory. Please let me know whether this works or not with your
3297 distribution & platform. I'll be trying out various distributions
3300 - Corrected some embarassing errors in the POD documentation. Also
3301 added a long documentation section on the various build actions
3302 (test, install, build, etc.) and added some neato ASCII art.
3304 - Added a 'cleanup' mechanism - any method may call the
3305 $self->add_to_cleanup(@files) method to register files which need
3306 to be cleaned up during 'Build clean'.
3308 - Added a 'Build help' action that gives a little syntax help, and
3309 lists all the actions available.
3311 - Fixed a bug in which 'blib/' wasn't properly being added to @INC
3312 when running 'Build test'.
3314 - For the 'Build dist' action, we'll use the 'tar' and 'gzip'
3315 programs (as specified by Config.pm) on Unix platforms, otherwise
3316 we'll use Archive::Tar and Compress::Zlib.
3318 0.02 Wed Sep 5 00:53:04 CDT 2001
3319 - Added POD documentation.
3321 - Added the 'install', 'fakeinstall', and 'dist' actions.
3323 - new() will now determine version string based on 'module_version', or
3324 'module_version_from', or 'module_name', in that order.
3326 - Module::Build::Base handles its file paths in a platform-independent
3327 way, using the File:: modules
3330 0.01 Sun Aug 5 01:23:10 2001
3331 - original version; created by h2xs 1.1.1.4 with options -XA -n Module::Build