X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=scan-adoc-refs;h=9252701634d239e832bac4f72c14c4fac30edb8b;hp=732bc34cc74637700f623e6a8859dc3b01464911;hb=90682f35982513fdecf9109cd15235fa982413fc;hpb=9383cea2c989005846a352f8e28aea23eb865878 diff --git a/scan-adoc-refs b/scan-adoc-refs index 732bc34..9252701 100755 --- a/scan-adoc-refs +++ b/scan-adoc-refs @@ -467,6 +467,7 @@ if ($generate_depends) { my $filelist = $fileinfo->{outfile}->{$e}; foreach my $sourcefile (sort keys %$filelist) { my $varname = $depend_varname_hash->{$sourcefile}; + next if !defined($varname); my $target = $filelist->{$sourcefile}; my $dep = "\$\{$varname\}"; $make_targets->{$target} = $dep;