2 elispdir ?= $(prefix)/share/emacs/site-lisp
3 installdir ?= $(elispdir)/exopen-mode
7 TARGETS := exopen-mode.el
10 COMPILE.el := $(EMACS) -batch -f batch-byte-compile
13 $(addsuffix c,$(TARGETS)):
15 install: $(TARGETS) $(addsuffix c,$(TARGETS))
16 $(INSTALL) -d $(installdir)
17 $(INSTALL) $^ $(installdir)/
20 $(RM) $(prefix $(installdir)/,$(TARGETS)) $(suffix c,$(prefix $(installdir)/,$(TARGETS)))