Make sure $TEST_DIR is created.

This commit is contained in:
Greg Pfeil 2015-01-07 09:23:30 -07:00
parent 6570538aae
commit 0f93724465
1 changed files with 6 additions and 3 deletions

View File

@ -28,15 +28,18 @@ build :
(add-to-list 'custom-theme-load-path \"./\") \
(load-theme 'solarized t))"
test-dep-1 :
init :
mkdir -p $(TEST_DIR)
test-dep-1 : init
@cd $(TEST_DIR) && \
$(EMACS) $(EMACS_BATCH) -L . -L .. -l $(TEST_DEP_1) || \
(echo "Can't load test dependency $(TEST_DEP_1).el, run 'make downloads' to fetch it" ; exit 1)
downloads :
downloads : init
$(CURL) '$(TEST_DEP_1_STABLE_URL)' > $(TEST_DIR)/$(TEST_DEP_1).el
downloads-latest :
downloads-latest : init
$(CURL) '$(TEST_DEP_1_LATEST_URL)' > $(TEST_DIR)/$(TEST_DEP_1).el
autoloads :