summaryrefslogtreecommitdiff
path: root/util/lint/Makefile
blob: 29f66838672a7bad8b65144c5e7c1ff88ae54766 (plain)
1
2
3
4
5
6
7
## SPDX-License-Identifier: GPL-2.0-only
sort: sort-spelling.txt

sort-%: %
	csplit --prefix $<- $< '/^$$/'
	LC_ALL="en_US.UTF-8" LANG= sort -u $<-01 | cat $<-00 - > $<
	rm -f $<-0[01]