aboutsummaryrefslogblamecommitdiffstats
path: root/dmenu/unicode.d/Makefile
blob: d34b4d6e1081f46247a71ca7bd2036bd82de2b86 (plain) (tree)


















                                                                 
URL = https://www.unicode.org/Public/UCD/latest/ucd/NamesList.txt

all: list

NamesList.txt:
	wget -O $@ $(URL) || curl $(URL) > $@ || cp $@.backup $@
	cp -- $@ $@.backup

list: NamesList.txt
	wget -O NamesList.txt $(URL)
	./conv < NamesList.txt > $@

clean:
	-rm -f -- NamesList.txt NamesList.txt.backup

reallyclean: clean
	-rm -f list

.PHONY: all