distribution-Makefile 2.7 KB
Newer Older
David Byers's avatar
David Byers committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- Makefile -*-
# $Id$
# Copyright (C) 1997  Lysator Academic Computer Association.
#

# ======================================================================
# EMACS is the command used to start Emacs on your system. You need
# Gnu Emacs 19.34 or later, or XEmacs 19.15 or 20.2 or later.
# ======================================================================

EMACS=emacs


# ======================================================================
# The following lines control where things go when installed
# LISPDIR is where lyskom.el and lyskom.elc go
# INFODIR is where documentation goes (if there is any)
# ======================================================================

David Byers's avatar
David Byers committed
20
LISPDIR=/usr/gnu/share/emacs/site-lisp
David Byers's avatar
David Byers committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
INFODIR=/usr/gnu/info


# ======================================================================
# LANGUAGE is a list of languages to compile in. Entries in the list
# are separated by whitespace. The following # languages are available
#
#	Name in list		Language
#	swedish			Swedish
#	english			U.S. English
#
# The first language in the list will be the default language.
# ======================================================================

LANGUAGES=swedish english


# ======================================================================
# ======================================================================
#
#		You should change nothing beyond this point
#
# ======================================================================
# ======================================================================

RM=/bin/rm -f
SHELL=/bin/sh
David Byers's avatar
David Byers committed
48
LANGUAGE-EL=$(LANGUAGES:=-strings.el)
David Byers's avatar
David Byers committed
49
50
51
52
53
54
EMACS-BATCH=$(EMACS) -batch
SOURCES	 = 	$(LANGUAGE-EL) \
		komtypes.el \
		clienttypes.el \
		deferred-insert.el \
		utilities.el \
55
		command.el \
David Byers's avatar
David Byers committed
56
		buffers.el \
57
		aux-items.el \
58
		mime.el \
David Byers's avatar
David Byers committed
59
60
61
62
63
64
65
		prefetch.el \
		startup.el \
		reading.el \
		internal.el \
		services.el \
		parse.el \
		cache.el \
David Byers's avatar
David Byers committed
66
		view-mode.el \
David Byers's avatar
David Byers committed
67
68
69
70
71
72
73
74
75
76
		commands1.el \
		commands2.el \
		review.el \
		edit-text.el \
		filter.el \
		filter-edit.el \
		lyskom-buttons.el \
		view-text.el \
		async.el \
		completing-read.el \
77
		mship-edit.el \
David Byers's avatar
David Byers committed
78
79
80
81
82
83
84
85
		prioritize.el \
		flags.el \
		messages.el \
		ansaphone.el \
		remote-control.el \
		menus.el slow.el \
		elib-string.el \
		option-edit.el \
David Byers's avatar
David Byers committed
86
		talkback.el \
David Byers's avatar
David Byers committed
87
88
89
		lyskom-rest.el

HEADER = 	defvar.el \
90
		feature.el \
David Byers's avatar
David Byers committed
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
		vars.el \
		macros.el \
		compatibility.el \
		language.el


all: envcheck lyskom.elc

envcheck:
	$(EMACS-BATCH) -l ./envcheck.el -f lyskom-check-environment

lyskom.elc: lyskom.el
	$(EMACS-BATCH) -l ./lpath.el -f batch-byte-compile lyskom.el

lyskom.el: $(HEADER) $(SOURCES) 
	cat $(HEADER) $(SOURCES) > lyskom.el

David Byers's avatar
David Byers committed
108
install: lyskom.elc
David Byers's avatar
David Byers committed
109
	cp lyskom.el lyskom.elc $(LISPDIR)
David Byers's avatar
David Byers committed
110
111
112
113

clean:
	$(RM) lyskom.el
	$(RM) *~ *.elc core *.bak