mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
89a8269c10
GNU standards requires certain files at the top-level directory of a package that automake is used with, mostly documentation. If one of these files happens to be missing, autoreconf would fail. Move these file requirements to the more strict 'GNITS' setting. Link: https://www.gnu.org/software/automake/manual/html_node/Strictness.html Signed-off-by: Michael Pratt <mcpratt@pm.me>
30 lines
868 B
Diff
30 lines
868 B
Diff
--- a/bin/automake.in
|
|
+++ b/bin/automake.in
|
|
@@ -4513,7 +4513,7 @@ sub handle_gettext ()
|
|
&& grep ($_ eq 'intl', @subdirs));
|
|
}
|
|
|
|
- require_file ($ac_gettext_location, GNU, 'ABOUT-NLS');
|
|
+ require_file ($ac_gettext_location, GNITS, 'ABOUT-NLS');
|
|
}
|
|
|
|
# Emit makefile footer.
|
|
@@ -5641,7 +5641,7 @@ sub check_gnu_standards ()
|
|
# otherwise require non-.md.
|
|
my $required
|
|
= (! -f $file && -f "$file.md") ? "$file.md" : $file;
|
|
- require_file ("$am_file.am", GNU, $required);
|
|
+ require_file ("$am_file.am", GNITS, $required);
|
|
}
|
|
|
|
# Accept one of these three licenses; default to COPYING.
|
|
@@ -5655,7 +5655,7 @@ sub check_gnu_standards ()
|
|
last;
|
|
}
|
|
}
|
|
- require_file ("$am_file.am", GNU, 'COPYING')
|
|
+ require_file ("$am_file.am", GNITS, 'COPYING')
|
|
unless $license;
|
|
}
|
|
|