dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

Makefile (546B)


      1 export EMACS ?= emacs
      2 EMACSFLAGS = -L .
      3 VERSION = $(git describe --tags --abbrev=0 | sed 's/^v//')
      4 
      5 ELS = $(wildcard *.el)
      6 OBJECTS = $(ELS:.el=.elc)
      7 
      8 .PHONY: test version compile
      9 
     10 all: compile checkdoc test
     11 
     12 compile: version clean
     13 	$(EMACS) --batch --load targets/compile.el
     14 
     15 checkdoc: version
     16 	$(EMACS) --batch --load targets/checkdoc.el
     17 
     18 lint: checkdoc
     19 
     20 test: version
     21 	$(EMACS) --batch --directory . --load sesman-test.el --funcall ert-run-tests-batch-and-exit
     22 
     23 version:
     24 	@echo SESMAN: $(VERSION)
     25 	@$(EMACS) --version
     26 
     27 clean:
     28 	rm -f $(OBJECTS)