aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu/unicode.d/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 14:59:09 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 14:59:09 +0200
commitf62eca657a79ef81089f3c34cdf837d7463581db (patch)
treeb8bdf542c8bee229c51e9cdcaf150d68f6d2e365 /dmenu/unicode.d/Makefile
parentAdd setkeys and setres (diff)
downloaddotfiles-f62eca657a79ef81089f3c34cdf837d7463581db.tar.gz
dotfiles-f62eca657a79ef81089f3c34cdf837d7463581db.tar.bz2
dotfiles-f62eca657a79ef81089f3c34cdf837d7463581db.tar.xz
Add ipa, man, and unicode scripts
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dmenu/unicode.d/Makefile')
-rw-r--r--dmenu/unicode.d/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/dmenu/unicode.d/Makefile b/dmenu/unicode.d/Makefile
new file mode 100644
index 0000000..d34b4d6
--- /dev/null
+++ b/dmenu/unicode.d/Makefile
@@ -0,0 +1,19 @@
+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