dotfiles/GNUmakefile

28 lines
402 B
Makefile

include dotfiles.mk
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