Codebase list ido-ubiquitous / debian/4.7-1 Makefile
debian/4.7-1

Tree @debian/4.7-1 (Download .tar.gz)

Makefile @debian/4.7-1raw · history · blame

ELISP_FILES := $(shell cask files)
ELC_FILES := $(patsubst %.el,%.elc,$(ELISP_FILES))

.PHONY: test compile clean
.INTERMEDIATE: .compile.intermediate

all: test

# We run clean-elc because undercover.el doesn't support elc files
test:
	cask clean-elc
	cask exec buttercup -L .

compile: $(ELC_FILES)

$(ELC_FILES): .compile.intermediate
.compile.intermediate: $(ELISP_FILES)
	cask build

clean:
	cask clean-elc