Build Xmodmap from top-level Makefile

This commit is contained in:
Tom Willemse 2017-04-02 20:22:36 -07:00
parent 0658e1b2dc
commit 05fd4916c8
3 changed files with 24 additions and 8 deletions

View file

@ -1,6 +1,28 @@
.PHONY: all zsh
include dotfiles.mk
all: zsh
MODULES=xmodmap
.PHONY: all clean $(MODULES) zsh
all: $(MODULES)
clean: $(addsuffix -clean,$(MODULES))
stow: $(addsuffix -stow,$(MODULES))
zsh:
$(MAKE) -C $@
###########
# Xmodmap #
###########
xmodmap: Xmodmap/.Xmodmap
Xmodmap/.Xmodmap: Xmodmap/Xmodmap.org
$(call tangle,fundamental)
xmodmap-clean:
rm -f Xmodmap/.Xmodmap
xmodmap-stow:
stow/usr/bin/stow-home Xmodmap

View file

@ -1,6 +0,0 @@
include ../dotfiles.mk
all: .Xmodmap
.Xmodmap: .Xmodmap.org
$(call tangle,fundamental)