File: Makefile

package info (click to toggle)
tramp 20020218-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,236 kB
  • ctags: 278
  • sloc: lisp: 4,550; makefile: 146; sh: 67
file content (32 lines) | stat: -rw-r--r-- 618 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
INSTALL=install -m644
FTPDIR=/home-local/ftp/pub/src/emacs
SLISP=/app/unido-i06/sun4_56/edit/emacs/20.5/share/emacs/site-lisp

EMACS ?= emacs
EVAL = --eval "(add-to-list 'load-path \".\")" 

ifdef USE_CONTRIB
  EVAL += --eval "(add-to-list 'load-path \"./../contrib\")"
endif

EM = $(EMACS) -batch $(EVAL) -f batch-byte-compile 

all: tramp

tramp: tramp.elc tramp-vc.elc tramp-util.elc

install: all
	$(INSTALL) tramp.el $(FTPDIR)

site-lisp: all
	/usr/ucb/$(INSTALL) tramp.el $(SLISP)
	cd $(SLISP) && emacs-20.5 -batch -f batch-byte-compile tramp.el

clean:
	$(RM) *.elc


%.elc: %.el
	$(EM) $<

.SUFFIXES: .elc .el