Permalink
Commits on Dec 13, 2002
  1. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3941 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 13, 2002
  2. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3940 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 13, 2002
  3. Add a base_dir() method

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3939 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 13, 2002
  4. Run a test to make sure M::B was loaded from the right place

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3938 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 13, 2002
  5. Make sure Sample/ can see Module::Build for 'test' and 'disttest'.

    Show verbose output of 'test', but hide it from Test::Harness.
    
    Make sure we're using the current M::B for testing.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3937 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 13, 2002
  6. Move some stuff into common.pl

    Make sure Sample/ can see Module::Build
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3936 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 13, 2002
  7. Move some common functionality into its own script

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3935 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 13, 2002
Commits on Dec 9, 2002
  1. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3934 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 9, 2002
  2. Create a new compile_xs() method that turns a .xs file into a .c file.

    This can use the new ExtUtils::ParseXS module if it's installed.
    
    Oopsie - use $Config{ld} instead of $Config{cc} for linking.
    
    Make the $VERSION-finding code a little less cryptic, but functionally
    identical.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3933 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 9, 2002
  3. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3932 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 9, 2002
  4. Add File::Compare to list of dependencies.

    Add ExtUtils::ParseXS to list of recommended dependencies.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3931 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 9, 2002
Commits on Dec 3, 2002
  1. No need for dynamic_config, I think

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3918 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 3, 2002
  2. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3917 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 3, 2002
  3. Use YAML::Node to get the order nice in the YAML file

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3916 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 3, 2002
  4. Don't gratuitously delete 'dist_version_from' and 'module_name' data …

    …members.
    
    Always use Module::Build's version number in the META.yml, not a subclass.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3915 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 3, 2002
Commits on Dec 1, 2002
  1. Mark stuff that requires ToolServer

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3914 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 1, 2002
  2. Override make_executable() instead of make_build_script_executable().

    Load ExtUtils::Install so we can override some of its imported symbols.
    
    Override ExtUtils::Install::find() (which is really
    File::Find::find()) so that the hard-coded '.' is turned into
    File::Spec->curdir().  This means we will work with versions as old as
    1.28 of ExtUtils::Install, and MacPerl 5.6.1.
    
    Fix up $Config{startperl}, removing the MPW cruft.
    
    rm_previous_build_script() isn't needed anymore.
    
    In dispatch(), make the two dialog boxes cancellable.
    
    Call split_like_shell() on the arguments to 'Build', not just split(/\s+/).
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3913 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 1, 2002
  3. Add the known_actions() method, used by the 'help' action.

    Change make_build_script_executable() into a generic make_executable()
    method.
    
    When making files executable, don't blindly change them to mode 0544 -
    just add execution privs to their existing mode.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3912 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 1, 2002
  4. Turn "use lib qw(lib);" into something that works with MacPerl.

    Platform::MacOS now works around the ExtUtils::Install platform
    problem, rather than requiring a later version of it.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3911 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Dec 1, 2002
Commits on Nov 28, 2002
  1. Make sure Module::Build was loaded from blib/

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3909 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 28, 2002
  2. Some fixes for MacOS from Schwern:

     - set 'sitelib' and 'sitearch' from 'installsitelib' and 'installsitearch'
    
     - Set creator/type of the 'Build' script to 'McPL', 'TEXT' so we can
       double-click on it.
    
     - chmod(666) in rm_previous_build_script() and ACTION_realclean() to
       unlock before removing (may not be necessary anymore, with
       File::Path doing the removal?)
    
     - in dispatch(), if there are no args (@_ or @ARGV), pop up a dialog
       box to ask the user what to do.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3908 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 28, 2002
  3. copy_if_modified() uses up_to_date() to check timestamps

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3907 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 28, 2002
  4. Fix quoting typo

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3906 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 28, 2002
Commits on Nov 27, 2002
  1. Can indeed get xsubpp working without backticks - worth it?

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3905 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  2. Require a really new ExtUtils::Install on MacOS

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3904 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  3. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3903 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  4. delete_filetree() now always uses File::Path::rmtree(), regardless

    of whether the thing being deleted is a file or a directory.  This
    helps remove things on obscure platforms with strange locking
    rules (or even not so obscure ones like MacOS).  It also now
    reports the number of files or directories (without counting their
    contents) deleted.
    
    rm_previous_build_script() is gone, replaced by calls to
    delete_filetree().
    
    'Build' now chdir()s in a BEGIN block, so the 'use Module::Build'
    statement will work correctly.  Solves a problem on MacOS. [Fix by
    Michael Schwern]
    
    Fixed the way we call xsubpp for .xs files so that redirection
    will work properly.  Now we use backticks and write the result to
    a file ourselves. [Suggested by Schwern]
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3902 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  5. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3901 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  6. Added a 'diff' action, which is useful for comparing the details

    of what you're about to install with what is already installed on
    your system.  This uses File::Compare, which is in the core.
    
    Fixed a problem on Windows in which the _build/ directory wasn't
    getting deleted during the 'realclean' action, because we had a
    file open in that directory. [Spotted by Michael Schwern]
    
    Internally we now use the multi-argument form of system() to run
    external commands (such as 'diff' or 'cc') whenever possible.
    Note that this means we have to handle splitting some strings
    (such as $Config{ccflags}) into argument lists like the shell
    would, which is a drag.  However, the alternative would be to
    handle shell quoting of all arguments to commands ourselves, which
    is an even bigger drag across platforms.
    
    To handle the argument splitting mentioned above, a method
    split_like_shell() has been created.
    
    The 'test' action now takes a 'test_files' parameter, similar to
    the (undocumented) ExtUtils::MakeMaker TEST_FILES argument.  Handy
    during development when fixing bugs.
    
    Internally, the rscan_dir() method can now accept a predicate
    function that decides whether a file/directory should be matched.
    
    We now issue a warning message when the author hasn't specified a
    license type.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3900 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  7. Version bump to 0.14.

    Document the 'diff' action and the 'test_files' parameter to the
    'test' action.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3899 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  8. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3898 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
  9. Specify a license so we don't get a warning

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3897 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 27, 2002
Commits on Nov 26, 2002
  1. *** empty log message ***

    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3896 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 26, 2002
Commits on Nov 21, 2002
  1. The 'new_cleanup' hash member isn't needed anymore.

    On Windows, you can't delete a directory with files open inside, so we
    close the cleanup file manually during the 'realclean' action.
    
    
    git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@3895 50811bd7-b8ce-0310-adc1-d9db26280581
    kenahoo committed Nov 21, 2002