diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a7080bf --- /dev/null +++ b/Makefile @@ -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