mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Add Makefile to update vendor files
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
.SILENT:
|
||||
|
||||
.PHONY: vendor update_vendor \
|
||||
remove_vendor/linum+.el update_vendor/linum+.el
|
||||
|
||||
vendor: vendor/linum+.el
|
||||
update_vendor:update_vendor/linum+.el
|
||||
|
||||
|
||||
vendor/linum+.el:
|
||||
echo "fetching vendor/linum+.el..." && \
|
||||
curl -s -L -o vendor/linum+.el \
|
||||
http://www.emacswiki.org/emacs/download/linum%2b.el
|
||||
|
||||
remove_vendor/linum+.el:
|
||||
( \
|
||||
test -f "vendor/linum+.el" && rm "vendor/linum+.el" && \
|
||||
echo "removed vendor/linum+.el" \
|
||||
) || exit 0
|
||||
|
||||
update_vendor/linum+.el: remove_vendor/linum+.el vendor/linum+.el
|
||||
Reference in New Issue
Block a user