mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Simplify hammerspoon confgi Makefile
This commit is contained in:
@@ -40,12 +40,7 @@ ext/grid.lua:
|
|||||||
echo "fetching $@..." && \
|
echo "fetching $@..." && \
|
||||||
curl -s -L -o $@ \
|
curl -s -L -o $@ \
|
||||||
https://raw.githubusercontent.com/Hammerspoon/hammerspoon/master/extensions/grid/init.lua && \
|
https://raw.githubusercontent.com/Hammerspoon/hammerspoon/master/extensions/grid/init.lua && \
|
||||||
make patch_$@
|
( test -f "$@.patch" && patch -p0 < "$@.patch" ) || exit 0
|
||||||
|
|
||||||
.PHONY: patch_ext/grid.lua
|
|
||||||
patch_ext/grid.lua:
|
|
||||||
echo "patching ext/grid.lua..." && \
|
|
||||||
patch -p0 < ext/grid.lua.patch
|
|
||||||
|
|
||||||
.PHONY: remove_ext/grid.lua
|
.PHONY: remove_ext/grid.lua
|
||||||
remove_ext/grid.lua:
|
remove_ext/grid.lua:
|
||||||
|
|||||||
Reference in New Issue
Block a user