mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
copy files into this dir.
This commit is contained in:
parent
c6496ddf13
commit
37972dfe3e
1 changed files with 10 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ perl_version '5.008005';
|
|||
license 'perl';
|
||||
can_cc or die "This module requires a C compiler";
|
||||
|
||||
my $ccflags = '-I../ ';
|
||||
my $ccflags = '.';
|
||||
|
||||
makemaker_args(
|
||||
OBJECT => '$(O_FILES)',
|
||||
|
|
@ -26,6 +26,15 @@ makemaker_args(
|
|||
tests 't/*.t';
|
||||
author_tests('xt');
|
||||
|
||||
# copy modules
|
||||
if ($Module::Install::AUTHOR && -d File::Spec->catfile('..', 'msgpack')) {
|
||||
mkdir 'msgpack' unless -d 'msgpack';
|
||||
require File::Copy;
|
||||
for my $src (<../msgpack/*.h>) {
|
||||
File::Copy::copy($src, 'msgpack/') or die "copy failed: $!";
|
||||
}
|
||||
}
|
||||
|
||||
auto_set_repository;
|
||||
build_requires 'Test::More';
|
||||
use_test_base;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue