41 lines
564 B
Makefile
41 lines
564 B
Makefile
include dotfiles.mk
|
|
|
|
MODULES=xmodmap emacs
|
|
|
|
.PHONY: all clean $(MODULES) zsh
|
|
|
|
all: $(MODULES)
|
|
|
|
clean: $(addsuffix -clean,$(MODULES))
|
|
stow: $(addsuffix -stow,$(MODULES))
|
|
|
|
zsh:
|
|
$(MAKE) -C $@
|
|
|
|
#########
|
|
# Emacs #
|
|
#########
|
|
|
|
emacs:
|
|
$(MAKE) -C emacs/.emacs.d
|
|
|
|
emacs-clean:
|
|
$(MAKE) -C emacs/.emacs.d clean
|
|
|
|
emacs-stow:
|
|
stow/ust/bin/stow-home emacs
|
|
|
|
###########
|
|
# 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
|