dotfiles/GNUmakefile
Tom Willemse e67f221c21 Rename Compton to Picom
They renamed the project and it’s been warning me about this for a while.
2020-04-26 16:12:05 -07:00

88 lines
1.4 KiB
Makefile

include dotfiles.mk
MODULES=xmodmap emacs picom cower mowedline
STOW=stow
.PHONY: all clean $(MODULES) zsh
all: $(MODULES)
clean: $(addsuffix -clean,$(MODULES))
zsh:
$(MAKE) -C $@
%-install: %
$(STOW) $^
%-uninstall:
$(STOW) -D $(subst -uninstall,,$@)
# Picom
picom: picom/.config/picom.conf
picom/.config/picom.conf: picom/.config/picom.org
$(call tangle,conf)
picom-clean:
rm -f picom/.config/picom.conf
#########
# Emacs #
#########
emacs:
$(MAKE) -C emacs/.emacs.d
emacs-clean:
$(MAKE) -C emacs/.emacs.d clean
###########
# Xmodmap #
###########
xmodmap: Xmodmap/.Xmodmap
Xmodmap/.Xmodmap: Xmodmap/Xmodmap.org
$(call tangle,fundamental)
xmodmap-clean:
rm -f Xmodmap/.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
#############
# Mowedline #
#############
mowedline: mowedline/.config/mowedline/init.scm
mowedline/.config/mowedline/init.scm: SCHEME_IMPLEMENTATION = chicken
mowedline/.config/mowedline/init.scm: mowedline/.config/mowedline/init.org
$(call tangle,scheme)
mowedline-clean:
rm -f mowedline/.config/mowedline/init.scm
#########
# Dunst #
#########
dunst: dunst/.config/dunst/dunstrc
dunst/.config/dunst/dunstrc: dunst/.config/dunst/dunstrc.org
$(call tangle,conf-unix)
dunst-clean:
rm -f dunst/.config/dunst/dunstrc