in reply to Re: make dist (ExtUtils::MakeMaker) on Windows stores text files with DOS line endings in .tar.gz archive
in thread make dist (ExtUtils::MakeMaker) on Windows stores text files with DOS line endings in .tar.gz archive

I think that's right that PAUSE doesn't care, and also, it's up to the user's system to handle the line endings appropriately. However, there may be some circumstances where unix-style line endings are expected in a distribution - for example, some time ago search.cpan.org had to patch some tools that generate the html docs if Windows-style line endings were present, and there was a recent bug in ExtUtils-Manifest also related to such line endings. It's probably best, if possible, to run make dist to create a CPAN distribution on a Unix machine.
  • Comment on Re^2: make dist (ExtUtils::MakeMaker) on Windows stores text files with DOS line endings in .tar.gz archive

Replies are listed 'Best First'.
Re^3: make dist (ExtUtils::MakeMaker) on Windows stores text files with DOS line endings in .tar.gz archive
by Corion (Patriarch) on Nov 20, 2006 at 07:57 UTC

    Running make dist on a Unix machine doesn't help anything if the text files have Windows-style (or Mac-style) line endings. The only thing that would help would be to convert all files to Unix-line endings before running make dist, which can be done on a Windows or Unix machine.

    I use a test file by brian_d_foy that checks the line endings of all files in my distribution to ensure that all are consistent.