planning for 'make install'
Reini Urban
rurban at x-ray.at
Fri Dec 26 12:49:18 UTC 2008
Allison Randal schrieb:
> One of our critical features for the 0.9.0 release next month is the
> 'make install' target. Reini did some work in a branch, but other
> questions or problems about installation have been bouncing around in
> various posts, tickets, and IRC conversations. To pull it all together,
> this mailing list thread is a collection point: please post summaries of
> the problems you're aware of, as well as your thoughts on how 'make
> install' should work.
I patched tools/dev/install_files.pl in the branch, then Allison patched
trunk with something different, which does not work.
I needed now this to copy also the [main] parts of the library,
esp. PCT and PGE. The logic unfortunately needs to include everything
and exclude compilers|config|language|tools. There's only [library] and
[main] left anyway.
- elsif ( /\[library]/ ) {
- $dest =~ s/^runtime/$options{libdir}/;
- }
else {
- $dest = File::Spec->catdir( $options{prefix}, $dest );
+ $dest =~ s|^src/|lib/parrot/src/|;
+ next if $dest =~ /^compilers|config|language|tools/;
+ if (/^runtime/) {
+ $dest =~ s/^runtime/$options{libdir}/;
+ } else {
+ $dest = File::Spec->catdir( $options{prefix}, $dest );
+ }
}
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
More information about the parrot-dev
mailing list