include dotfiles.mk MODULES=xmodmap emacs compton cower .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/usr/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 ######### # Cower # ######### cower: cower/.config/cower/config cower/.config/cower/config: cower/.config/cower/config.org $(call tangle,conf-unix) cower-clean: rm -f cower/.config/cower/config cower-stow: stow/usr/bin/stow-home cower