include dotfiles.mk MODULES=xmodmap emacs compton .PHONY: all clean $(MODULES) zsh all: $(MODULES) clean: $(addsuffix -clean,$(MODULES)) stow: $(addsuffix -stow,$(MODULES)) zsh: $(MAKE) -C $@ ########### # Compton # ########### compton: compton/.config/compton.conf compton/.config/compton.conf: compton/.config/compton.org $(call tangle,conf) compton-clean: rm -f compton/.config/compton.conf compton-stow: stow/usr/bin/stow-home compton ######### # 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