Having assets in the top-level `Documentation` directory can make it harder to find the documents one needs, especially if we want to add more of them later on. Instead, create a new `images` folder inside it that is used to hold assets such as logos. In addition, update the reference in `scripts/spdxcheck-test.sh`. Link: https://lore.kernel.org/lkml/8735hicoy7.fsf@xxxxxxxxxxxx/ Suggested-by: Jonathan Corbet <corbet@xxxxxxx> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx> --- v1: https://lore.kernel.org/lkml/20220510172530.29704-1-ojeda@xxxxxxxxxx/ v2: - Added the `scripts/spdxcheck-test.sh` reference update, as noticed by Jonathan Corbet. Documentation/{ => images}/COPYING-logo | 0 Documentation/{ => images}/logo.gif | Bin scripts/spdxcheck-test.sh | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{ => images}/COPYING-logo (100%) rename Documentation/{ => images}/logo.gif (100%) diff --git a/Documentation/COPYING-logo b/Documentation/images/COPYING-logo similarity index 100% rename from Documentation/COPYING-logo rename to Documentation/images/COPYING-logo diff --git a/Documentation/logo.gif b/Documentation/images/logo.gif similarity index 100% rename from Documentation/logo.gif rename to Documentation/images/logo.gif diff --git a/scripts/spdxcheck-test.sh b/scripts/spdxcheck-test.sh index cb76324756bd..9f6d1a74da6e 100644 --- a/scripts/spdxcheck-test.sh +++ b/scripts/spdxcheck-test.sh @@ -1,7 +1,7 @@ #!/bin/sh # run check on a text and a binary file -for FILE in Makefile Documentation/logo.gif; do +for FILE in Makefile Documentation/images/logo.gif; do python3 scripts/spdxcheck.py $FILE python3 scripts/spdxcheck.py - < $FILE done base-commit: 4b0986a3613c92f4ec1bdc7f60ec66fea135991f -- 2.36.1