From 05fd4916c88a8b63cdcd1ca90ca0c610eb6aeb53 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 2 Apr 2017 20:22:36 -0700 Subject: Build Xmodmap from top-level Makefile --- GNUmakefile | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 50f836d..45fd82e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,28 @@ -.PHONY: all zsh +include dotfiles.mk -all: zsh +MODULES=xmodmap + +.PHONY: all clean $(MODULES) zsh + +all: $(MODULES) + +clean: $(addsuffix -clean,$(MODULES)) +stow: $(addsuffix -stow,$(MODULES)) zsh: $(MAKE) -C $@ + +########### +# 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 -- cgit v1.2.3-54-g00ecf