Getting 'make dist' to play nice with symlinks

Edmund von der Burg evdb at ecclestoad.co.uk
Fri Mar 18 10:11:58 GMT 2011


On 18 March 2011 09:42, Edmund von der Burg <evdb at ecclestoad.co.uk> wrote:
> Hello,
>
> I have a 't' directory in my project that looks like this:
>
> evdb at candice ~/git/App $ ls -l t
> lrwxr-xr-x  1 evdb  staff   18 15 Mar 08:34 test_data@ -> ../../../test_data
> -rw-r--r--@ 1 evdb  staff  557 17 Mar 21:50 url.t
>
> So 't/test_data' is a symlink to a dir further up the tree. It is
> there because I want to use the same test_data for other packages
> written in other languages.

Actually to clarify it complains the first time, and then not the
second, but it does actually include them:

> perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        t/test_data/encrypt.json
        t/test_data/url_conversion.json
        t/test_data/xor_samples.json
Please inform the author.
Writing Makefile for App

> perl Makefile.PL
Writing Makefile for App

This is using ExtUtils::MakeMaker

I can live with the warnings so I'm leaving it there.

Cheers,
  Edmund.



More information about the london.pm mailing list