Makefile (467B)
1 default: dmenu-emoji.sh 2 3 dmenu-emoji.sh: script.sh emoji.txt 4 @cat script.sh emoji.txt > $@ 5 @chmod +x $@ 6 @du -sh $@ 7 8 emoji.txt: emoji.json parse.sh 9 @sh parse.sh < emoji.json > $@ 10 11 emoji.json: 12 @echo "Downloading emoji table from https://github.com/github/gemoji (Emoji Ruby gem)" 13 @echo 14 @curl https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json > $@ 15 @echo 16 17 .PHONY: update 18 update: clean default 19 20 .PHONY: clean 21 clean: 22 @rm -f emoji.json emoji.txt