aboutsummaryrefslogtreecommitdiff
path: root/util/lint/Makefile
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-06-01 20:19:53 -0600
committerMartin L Roth <gaumless@gmail.com>2022-09-30 19:07:02 +0000
commit7726a7f272965d9279e4c8008b893751203aa304 (patch)
tree001d9cf765a8ea0f6fc796f87ffa9c4c9264c527 /util/lint/Makefile
parent3c35a5b7ecbabf7d5454288cc9f4fdcf9c9a51e9 (diff)
util/lint: Update spelling.txt, add makefile to sort it
- Update spelling.txt with Lintian changes - Remove words that are going to mess up code - Add comments to the header about what words should be removed, along with where the files - Add Makefile to sort the list Note that this undoes some of the sorting that Patrick introduced in commit CB:38632 - ID: 805b291830 I just cannot reproduce his sort order, even using the script he put into the commit message. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Ic131d5b08409f43eb700dcc8f125af00cff53d71 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64893 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/lint/Makefile')
-rw-r--r--util/lint/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/lint/Makefile b/util/lint/Makefile
new file mode 100644
index 0000000000..1a4fec8c90
--- /dev/null
+++ b/util/lint/Makefile
@@ -0,0 +1,6 @@
+sort: sort-spelling.txt
+
+sort-%: %
+ csplit --prefix $<- $< '/^$$/'
+ LC_ALL="en_US.UTF-8" LANG= sort -u $<-01 | cat $<-00 - > $<
+ rm -f $<-0[01]