annotate lisp/w3/Makefile @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 1ce6082ce73f
children 0d2f883870bc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
1 # where the w3 lisp files should go
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
2 prefix = /usr/local
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
3 infodir = $(prefix)/info
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
4 datadir = $(prefix)/share
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
5 lispdir = $(datadir)/emacs/site-lisp
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
6 confdir = $(datadir)/emacs/w3
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
7
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 # what emacs is called on your system
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 EMACS = emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
11 # How to install a file
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
12 INSTALL = install
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 # Various other stuff used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 RM = rm -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 CP = cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 # Change this to be how to convert texinfo files into info files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 # examples:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 # $(EMACS) -batch -q -f batch-texinfo-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 # makeinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 MAKEINFO = makeinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ############## no user servicable parts beyond this point ###################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # Have to preload a few things to get a nice clean compile
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
26
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 DEPS = -l ./docomp.el -l ./w3-vars.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 # compile with noninteractive and relatively clean environment
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 BATCHFLAGS = -batch -q -no-site-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 # files that contain variables and macros that everything else depends on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 CORE = docomp.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
35 URLSOURCES = \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
36 url-nfs.el url-file.el url-cookie.el url-parse.el url-irc.el \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
37 url-gopher.el url-http.el url-mail.el url-misc.el url-news.el \
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
38 url-pgp.el url-vars.el url-wais.el url-auth.el mm.el md5.el \
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
39 url-gw.el ssl.el base64.el url.el socks.el
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
40
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
41 CUSTOMSOURCES = widget.el widget-edit.el
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
42 CUSTOMOBJECTS = $(CUSTOMSOURCES:.el=.elc)
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
43 URLOBJECTS = $(URLSOURCES:.el=.elc)
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
44
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 62
diff changeset
45 SOURCES = \
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
46 $(CUSTOMSOURCES) $(URLSOURCES) mule-sysdp.el w3-widget.el \
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
47 w3-imap.el css.el dsssl.el font.el images.el w3-vars.el \
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
48 w3-style.el w3-keyword.el w3-forms.el w3-emulate.el \
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
49 w3-annotat.el w3-auto.el w3-menu.el w3-mouse.el w3-toolbar.el \
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
50 w3-prefs.el w3-speak.el w3-latex.el w3-parse.el w3-display.el \
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
51 w3-print.el w3-about.el w3-hot.el w3-e19.el w3-xemac.el w3.el
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
52
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
53 OBJECTS = $(SOURCES:.el=.elc)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
55 # Warning! Currently, the following file can _NOT_ be bytecompiled.
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
56 EXTRAS = w3-sysdp.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 .SUFFIXES: .elc .el .el,v
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 .el.elc:
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
61 $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $<
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
63 w3: docomp.el $(OBJECTS)
38
1a767b41a199 Import from CVS: tag r19-15b102
cvs
parents: 36
diff changeset
64 @echo Build of w3 complete...
1a767b41a199 Import from CVS: tag r19-15b102
cvs
parents: 36
diff changeset
65
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
66 all: w3.info w3
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 install: all
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
69 @echo Installing in $(lispdir)
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
70 @( if [ ! -d $(lispdir) ]; then mkdir -p $(lispdir); fi )
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
71 @( if [ ! -d $(infodir) ]; then mkdir -p $(infodir); fi )
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
72 @( if [ ! -d $(confdir) ]; then mkdir -p $(confdir); fi )
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
73 $(INSTALL) -m 644 $(SOURCES) $(OBJECTS) $(lispdir)
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 80
diff changeset
74 $(INSTALL) -m 644 $(EXTRAS) $(lispdir)
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
75 $(INSTALL) -m 644 w3.info* $(infodir)
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
76 $(INSTALL) -m 644 default.css $(confdir)/stylesheet
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
77 $(INSTALL) -m 644 html32.dsl $(confdir)/
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 clean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 $(RM) $(OBJECTS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 w3.info: w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 @$(MAKEINFO) w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 w3.dvi: w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 tex w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 texindex w3.cp w3.fn w3.ky w3.pg w3.tp w3.vr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 tex w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 $(RM) w3.cp w3.fn w3.ky w3.pg w3.tp w3.vr \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 w3.cps w3.fns w3.kys w3.pgs w3.tps w3.vrs \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 w3.log w3.toc w3.aux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
93 w3-display.elc: w3-display.el css.el font.el w3-imap.el
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
94 css.elc: css.el font.el
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
95 w3.elc: css.el w3-vars.el