Build Xmodmap from top-level Makefile
This commit is contained in:
parent
0658e1b2dc
commit
05fd4916c8
3 changed files with 24 additions and 8 deletions
26
GNUmakefile
26
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:
|
zsh:
|
||||||
$(MAKE) -C $@
|
$(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
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
include ../dotfiles.mk
|
|
||||||
|
|
||||||
all: .Xmodmap
|
|
||||||
|
|
||||||
.Xmodmap: .Xmodmap.org
|
|
||||||
$(call tangle,fundamental)
|
|
Loading…
Reference in a new issue