--- deliantra/Deliantra-Client/Makefile.PL 2006/07/30 13:14:15 1.56 +++ deliantra/Deliantra-Client/Makefile.PL 2006/07/30 14:02:49 1.57 @@ -1,5 +1,10 @@ use ExtUtils::MakeMaker; +sub manifest_resources { + open my $manifest, "MANIFEST" or die "Couldn't open MANIFEST: $!"; + map { chomp; $_ } grep /^resources\//, <$manifest> +} + print < '$(INST_LIBDIR)/CFPlus/Pod.pm', 'CFPlus/MapWidget.pm' => '$(INST_LIBDIR)/CFPlus/MapWidget.pm', 'CFPlus/BindingEditor.pm' => '$(INST_LIBDIR)/CFPlus/BindingEditor.pm', - (map +($_ => "\$(INST_LIBDIR)/CFPlus/$_"), - , - , - , - , - , - , - , - , - , - , - ), + (map +($_ => "\$(INST_LIBDIR)/CFPlus/$_"), manifest_resources), } );