diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-02-19 22:59:39 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-02-19 22:59:39 -0500 |
commit | c69e429949e80dc263cf9e17488f4f5aec415738 (patch) | |
tree | ee8ec01aafdb41f79a9064fccb8f9691493aff66 /Makefile | |
parent | 14a34a626b6684cce34d25800df4bd9765794376 (diff) | |
download | bog-c69e429949e80dc263cf9e17488f4f5aec415738.tar.gz |
Use cl-lib instead of dash
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -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 - |