-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile
52 lines (38 loc) · 1.01 KB
/
Makefile
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# Makefile for APEL.
#
VERSION = 10.8
TAR = tar
RM = /bin/rm -f
CP = /bin/cp -p
EMACS = emacs
XEMACS = xemacs
FLAGS = -batch -q -no-site-file -l APEL-MK
PREFIX = NONE
LISPDIR = NONE
PACKAGEDIR = NONE
VERSION_SPECIFIC_LISPDIR = NONE
GOMI = *.elc
ARCHIVE_DIR_PREFIX = /home/kanji/tomo/public_html/lemi/dist
default: elc
what-where:
$(EMACS) $(FLAGS) -f what-where-apel \
$(PREFIX) $(LISPDIR) $(VERSION_SPECIFIC_LISPDIR)
elc:
$(EMACS) $(FLAGS) -f compile-apel \
$(PREFIX) $(LISPDIR) $(VERSION_SPECIFIC_LISPDIR)
install: elc
$(EMACS) $(FLAGS) -f install-apel \
$(PREFIX) $(LISPDIR) $(VERSION_SPECIFIC_LISPDIR) # $(MAKE)
package:
$(XEMACS) $(FLAGS) -f compile-apel-package \
$(PACKAGEDIR)
install-package: package
$(XEMACS) $(FLAGS) -f install-apel-package \
$(PACKAGEDIR) # $(MAKE)
clean:
-$(RM) $(GOMI)
release:
-$(RM) $(ARCHIVE_DIR_PREFIX)/apel/apel-$(VERSION).tar.gz
mv /tmp/apel-$(VERSION).tar.gz $(ARCHIVE_DIR_PREFIX)/apel
cd $(ARCHIVE_DIR_PREFIX)/semi/ ; ln -s ../apel/apel-$(VERSION).tar.gz .