chiark
/
gitweb
/
~mdw
/
stgit
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'stable'
[stgit]
/
contrib
/
Makefile
1
EMACS = emacs
2
3
ELC = stgit.elc
4
INSTALL ?= install
5
INSTALL_ELC = $(INSTALL) -m 644
6
prefix ?= $(HOME)
7
emacsdir = $(prefix)/share/emacs/site-lisp
8
RM ?= rm -f
9
10
all: $(ELC)
11
12
install: all
13
$(INSTALL) -d $(DESTDIR)$(emacsdir)
14
$(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
15
16
%.elc: %.el
17
$(EMACS) -batch -f batch-byte-compile $<
18
19
clean:; $(RM) $(ELC)