0
|
1 # Temp file to use to build .elc files
|
|
2 ELISP-TO-COMPILE = /tmp/elc-url-${USER}
|
|
3
|
|
4 # what emacs is called on your system
|
2
|
5 EMACS = emacs
|
0
|
6
|
|
7 # where the Info file should go
|
|
8 INFODIR = .
|
|
9
|
|
10 # where the lisp files will be installed.
|
|
11 LISPDIR = $$HOME/lisp
|
|
12
|
|
13 # Change this to be where your .emacs file is stored
|
|
14 DOTEMACS = $$HOME/.emacs
|
|
15
|
|
16 # Change this to be how to convert texinfo files into info files
|
|
17 # examples:
|
|
18 # MAKEINFO = $(EMACS) -batch -q -f batch-texinfo-format
|
|
19 # MAKEINFO = makeinfo
|
|
20 MAKEINFO = makeinfo
|
|
21
|
2
|
22 # Where your version of 'install' lives
|
|
23 INSTALL = install
|
0
|
24
|
|
25 # Various other stuff used
|
|
26 RM = rm -f
|
|
27 CP = cp
|
|
28 ############## no user servicable parts beyond this point ###################
|
|
29 MAJOR=1
|
|
30 MINOR=0
|
|
31
|
|
32 # Have to preload a few things to get a nice clean compile
|
|
33 DEPS = -l ./url-vars.el -l ./docomp.el
|
|
34
|
|
35 # compile with noninteractive and relatively clean environment
|
|
36 BATCHFLAGS = -batch -q -no-site-file
|
|
37
|
|
38 # What type of version this is - beta or normal
|
|
39 VTYPE = p
|
|
40 DIRNAME = url
|
|
41
|
|
42 .SUFFIXES: .elc .el .el,v
|
|
43
|
|
44 .el.elc:
|
|
45 $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $<
|
|
46
|
|
47 OBJECTS = \
|
|
48 url-file.elc \
|
|
49 url-nfs.elc \
|
|
50 url-cookie.elc \
|
|
51 url-irc.elc \
|
|
52 url-parse.elc \
|
|
53 url-gopher.elc \
|
|
54 url-hash.elc \
|
|
55 url-http.elc \
|
|
56 url-mail.elc \
|
|
57 url-misc.elc \
|
|
58 url-news.elc \
|
|
59 url-pgp.elc \
|
|
60 url-vars.elc \
|
|
61 url-wais.elc \
|
|
62 urlauth.elc \
|
|
63 mm.elc \
|
|
64 md5.elc \
|
|
65 ssl.elc \
|
|
66 base64.elc \
|
|
67 url.elc
|
|
68
|
|
69 SOURCES = \
|
|
70 docomp.el \
|
|
71 url-nfs.el \
|
|
72 url-sysdp.el \
|
|
73 url-file.el \
|
|
74 url-cookie.el \
|
|
75 url-parse.el \
|
|
76 url-irc.el \
|
|
77 url-gopher.el \
|
|
78 url-hash.el \
|
|
79 url-http.el \
|
|
80 url-mail.el \
|
|
81 url-misc.el \
|
|
82 url-news.el \
|
|
83 url-pgp.el \
|
|
84 url-vars.el \
|
|
85 url-wais.el \
|
|
86 urlauth.el \
|
|
87 mm.el \
|
|
88 md5.el \
|
|
89 ssl.el \
|
|
90 base64.el \
|
|
91 url.el
|
|
92
|
|
93 DISTFILES = $(SOURCES) descrip.mms
|
|
94
|
|
95 url: docomp.el $(OBJECTS)
|
|
96 @echo Build of url complete...
|
|
97
|
|
98 clean:
|
|
99 rm -f $(OBJECTS)
|
|
100
|
|
101 url.html: url.texi
|
|
102 @texi2html -menu -split_node -verbose url.texi
|
|
103
|
|
104 url.info: url.texi
|
|
105 @$(MAKEINFO) url.texi
|
|
106
|
|
107 url.dvi: url.texi
|
|
108 @tex url.texi
|
|
109 @texindex url.cp url.fn url.ky url.pg url.tp url.vr
|
|
110 @tex url.texi
|
|
111 @rm -f url.cp url.fn url.ky url.pg url.tp url.vr \
|
|
112 url.cps url.fns url.kys url.pgs url.tps url.vrs \
|
|
113 url.log url.toc url.aux
|
|
114
|
|
115 install: url
|
|
116 @echo Installing in $(LISPDIR)
|
2
|
117 $(INSTALL) -d $(LISPDIR)
|
|
118 $(INSTALL) -m 644 $(SOURCES) $(OBJECTS) $(LISPDIR)
|
|
119 # $(INSTALL) -d $(INFODIR)
|
|
120 # $(INSTALL) -m 644 url.info* $(INFODIR)
|