Kaydet (Commit) d200c344 authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Noel Grandin

Fix naming of makefile to mend make dump-deps.

Also add error message to make this more clear in the future.

Change-Id: Ic9e3a2c89119ef1ec3e6cc1074b7419f7ee268b7
Reviewed-on: https://gerrit.libreoffice.org/29375Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst c9196b49
......@@ -238,7 +238,12 @@ sub collapse_lib_to_module($)
}
}
for my $dep (@{$result->{deps}}) {
$dep = $l2m->{$dep};
my $newdep;
$newdep = $l2m->{$dep};
die "Mis-named */Library_*.mk file - should match rules: '$dep'" if (!defined $newdep);
$dep = $newdep;
# ignore: two libraries from the same module depend on each other
next if ($name eq $dep);
if (exists($digraph{$name}))
......@@ -299,7 +304,7 @@ sub annotate_mergelibs($)
for my $name (keys %{$tree}) {
if (defined $merged_libs{$name}) {
$tree->{$name}->{merged} = 1;
print STDERR "mark $name as merged\n";
# print STDERR "mark $name as merged\n";
}
}
}
......
......@@ -13,7 +13,7 @@ ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,test,\
Library_test \
Library_test-setupvcl \
Library_test_setupvcl \
Library_subsequenttest \
Library_vclbootstrapprotector \
Package_unittest \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment