2017-04-03 05:22:36 +02:00
|
|
|
include dotfiles.mk
|
2016-11-24 21:45:18 +01:00
|
|
|
|
2018-01-09 05:48:18 +01:00
|
|
|
MODULES=xmodmap emacs compton cower
|
2017-04-03 05:22:36 +02:00
|
|
|
|
|
|
|
.PHONY: all clean $(MODULES) zsh
|
|
|
|
|
|
|
|
all: $(MODULES)
|
|
|
|
|
|
|
|
clean: $(addsuffix -clean,$(MODULES))
|
|
|
|
stow: $(addsuffix -stow,$(MODULES))
|
2016-11-24 21:45:18 +01:00
|
|
|
|
|
|
|
zsh:
|
|
|
|
$(MAKE) -C $@
|
2017-04-03 05:22:36 +02:00
|
|
|
|
2017-06-22 09:07:28 +02:00
|
|
|
###########
|
|
|
|
# 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
|
|
|
|
|
2017-04-03 05:52:42 +02:00
|
|
|
#########
|
|
|
|
# Emacs #
|
|
|
|
#########
|
|
|
|
|
|
|
|
emacs:
|
|
|
|
$(MAKE) -C emacs/.emacs.d
|
|
|
|
|
|
|
|
emacs-clean:
|
|
|
|
$(MAKE) -C emacs/.emacs.d clean
|
|
|
|
|
|
|
|
emacs-stow:
|
2018-01-09 05:48:18 +01:00
|
|
|
stow/usr/bin/stow-home emacs
|
2017-04-03 05:52:42 +02:00
|
|
|
|
2017-04-03 05:22:36 +02:00
|
|
|
###########
|
|
|
|
# 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
|
2018-01-09 05:48:18 +01:00
|
|
|
|
|
|
|
#########
|
|
|
|
# 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
|