posts:bibtex: Update with crossref ordering notes
[blog.git] / posts / Xmodmap / Makefile
1 REPO = git://tremily.us/dotfiles-public.git
2 PACKAGE = dotfiles-public
3
4 .PHONY : all checkout clean
5
6 all : unicode_sampler _Xmodmap
7
8 clean :
9         rm -rf $(PACKAGE) unicode_sampler _Xmodmap
10
11 $(PACKAGE) :
12         git clone $(REPO) $@
13
14 checkout : $(PACKAGE)
15         (cd $(PACKAGE) && git pull && git reset --hard HEAD)
16
17 _Xmodmap : checkout
18         cp $(PACKAGE:%=%/src/$(@:_%=.%)) $@
19
20 unicode_sampler : _Xmodmap gen_sampler.py
21         ./gen_sampler.py $< > $@