More descriptive exclusion error; updated docs and copyright

This commit is contained in:
Carl Woffenden
2022-01-20 14:50:31 +01:00
parent dc983e7d68
commit 3f181b6192
4 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ add_file() {
local res_inc="$(resolve_include "$srcdir" "$inc")"
if list_has_item "$XINCS" "$inc"; then
# The file was excluded so error if the source attempts to use it
write_line "#error Using excluded file: $inc"
write_line "#error Using excluded file: $inc (re-amalgamate source to fix)"
log_line "Excluding: $inc"
else
if ! list_has_item "$FOUND" "$res_inc"; then