summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-19 22:59:39 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-19 22:59:39 -0500
commitc69e429949e80dc263cf9e17488f4f5aec415738 (patch)
treeee8ec01aafdb41f79a9064fccb8f9691493aff66 /Makefile
parent14a34a626b6684cce34d25800df4bd9765794376 (diff)
downloadbog-c69e429949e80dc263cf9e17488f4f5aec415738.tar.gz
Use cl-lib instead of dash
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 5498024..1ecadcd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,15 @@
EMACS = emacs -Q --batch
-CURL = curl --silent
name = bog
main_el := $(name).el
main_elc = $(main_el)c
AUTOLOADS_FILE := $(name)-autoloads.el
-DASH_URL = https://raw.githubusercontent.com/magnars/dash.el/master/dash.el
-
all: elc autoloads
.PHONY: autoloads
autoloads: $(AUTOLOADS_FILE)
-$(AUTOLOADS_FILE): $(main_el) .downloads
+$(AUTOLOADS_FILE): $(main_el)
@$(EMACS) -L . --eval \
"(let (make-backup-files) \
(update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))"
@@ -36,15 +33,10 @@ help:
@printf " test Run tests.\n"
.PHONY: test
-test: .downloads
+test:
@$(EMACS) -L . -l bog-tests \
--eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))"
-%.elc: %.el .downloads
+%.elc: %.el
@$(EMACS) -L . -f batch-byte-compile $<
-
-.downloads:
- $(CURL) $(DASH_URL) > dash.el
- touch .downloads
-