Add compton to top-level Makefile

This commit is contained in:
Tom Willemse 2017-06-22 00:07:28 -07:00
parent a565d2e851
commit fa79e6e87d
2 changed files with 16 additions and 7 deletions

View file

@ -1,6 +1,6 @@
include dotfiles.mk include dotfiles.mk
MODULES=xmodmap emacs MODULES=xmodmap emacs compton
.PHONY: all clean $(MODULES) zsh .PHONY: all clean $(MODULES) zsh
@ -12,6 +12,21 @@ stow: $(addsuffix -stow,$(MODULES))
zsh: zsh:
$(MAKE) -C $@ $(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 #
######### #########

View file

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