~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to contrib/emacs/Makefile

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
INSTALL_ELC = $(INSTALL) -m 644
8
8
prefix ?= $(HOME)
9
9
emacsdir = $(prefix)/share/emacs/site-lisp
 
10
RM ?= rm -f
10
11
 
11
12
all: $(ELC)
12
13
 
13
14
install: all
14
15
        $(INSTALL) -d $(DESTDIR)$(emacsdir)
15
 
        $(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
 
16
        $(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
16
17
 
17
18
%.elc: %.el
18
19
        $(EMACS) -batch -f batch-byte-compile $<
19
20
 
20
 
clean:; rm -f $(ELC)
 
21
clean:; $(RM) $(ELC)