annotate lisp/w3/Makefile @ 62:28a7c63c7e1e r19-16-pre6

Import from CVS: tag r19-16-pre6
author cvs
date Mon, 13 Aug 2007 08:59:13 +0200
parents 8d2a9b52c682
children 131b0175ea99
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
1 # where the w3 lisp files should go
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
2 prefix = /usr/local
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
3 infodir = $(prefix)/info
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
4 datadir = $(prefix)/share
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
5 lispdir = $(datadir)/emacs/site-lisp
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
6 confdir = $(datadir)/emacs/w3
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
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
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
35 URLSOURCES = \
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
36 url-nfs.el url-file.el url-cookie.el url-parse.el url-irc.el \
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
37 url-gopher.el url-http.el url-mail.el url-misc.el url-news.el \
62
28a7c63c7e1e Import from CVS: tag r19-16-pre6
cvs
parents: 44
diff changeset
38 url-vars.el url-auth.el mm.el url-gw.el ssl.el base64.el \
44
8d2a9b52c682 Import from CVS: tag r19-15prefinal
cvs
parents: 38
diff changeset
39 url.el socks.el url-cache.el url-ns.el
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
40
18
d95e72db5c07 Import from CVS: tag r19-15b92
cvs
parents: 16
diff changeset
41 CUSTOMSOURCES = # widget.el widget-edit.el
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
42 CUSTOMOBJECTS = $(CUSTOMSOURCES:.el=.elc)
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
43 URLOBJECTS = $(URLSOURCES:.el=.elc)
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
44
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 SOURCES = \
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 14
diff changeset
46 $(CUSTOMSOURCES) $(URLSOURCES) mule-sysdp.el w3-widget.el \
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 14
diff changeset
47 w3-imap.el css.el dsssl.el font.el images.el w3-vars.el \
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents: 26
diff changeset
48 w3-cus.el w3-style.el w3-keyword.el w3-forms.el w3-emulate.el \
20
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 18
diff changeset
49 w3-auto.el w3-menu.el w3-mouse.el w3-toolbar.el w3-prefs.el \
859a2309aef8 Import from CVS: tag r19-15b93
cvs
parents: 18
diff changeset
50 w3-speak.el w3-latex.el w3-parse.el w3-display.el w3-print.el \
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 20
diff changeset
51 w3-about.el w3-hot.el w3-e19.el w3-xemac.el w3.el w3-script.el \
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 20
diff changeset
52 w3-jscript.el w3-elisp.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 14
diff changeset
54 OBJECTS = $(SOURCES:.el=.elc)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 14
diff changeset
56 # Warning! Currently, the following file can _NOT_ be bytecompiled.
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 14
diff changeset
57 EXTRAS = w3-sysdp.el
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 .SUFFIXES: .elc .el .el,v
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 .el.elc:
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
62 $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $<
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
36
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
64 w3: check-custom docomp.el $(OBJECTS)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 @echo Build of w3 complete...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
38
1a767b41a199 Import from CVS: tag r19-15b102
cvs
parents: 36
diff changeset
67 xemacs-w3: docomp.el $(OBJECTS)
1a767b41a199 Import from CVS: tag r19-15b102
cvs
parents: 36
diff changeset
68 @echo Build of w3 complete...
1a767b41a199 Import from CVS: tag r19-15b102
cvs
parents: 36
diff changeset
69
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
70 all: w3.info w3
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 install: all
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
73 @echo Installing in $(lispdir)
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
74 @( if [ ! -d $(lispdir) ]; then mkdir -p $(lispdir); fi )
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
75 @( if [ ! -d $(infodir) ]; then mkdir -p $(infodir); fi )
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
76 @( if [ ! -d $(confdir) ]; then mkdir -p $(confdir); fi )
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
77 $(INSTALL) -m 644 $(SOURCES) $(OBJECTS) $(lispdir)
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 14
diff changeset
78 $(INSTALL) -m 644 $(EXTRAS) $(lispdir)
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
79 $(INSTALL) -m 644 w3.info* $(infodir)
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
80 $(INSTALL) -m 644 default.css $(confdir)/stylesheet
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
81 $(INSTALL) -m 644 html32.dsl $(confdir)/
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 clean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 $(RM) $(OBJECTS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
36
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
86 check-custom:
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
87 @./custom-check $(EMACS)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
88
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 w3.info: w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 @$(MAKEINFO) w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 w3.dvi: w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 tex w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 texindex w3.cp w3.fn w3.ky w3.pg w3.tp w3.vr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 tex w3.txi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 $(RM) w3.cp w3.fn w3.ky w3.pg w3.tp w3.vr \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 w3.cps w3.fns w3.kys w3.pgs w3.tps w3.vrs \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 w3.log w3.toc w3.aux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents: 26
diff changeset
100 w3-vars.elc: w3-cus.el w3-vars.el
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
101 w3-display.elc: w3-display.el css.el font.el w3-imap.el
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
102 css.elc: css.el font.el
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents: 26
diff changeset
103 w3.elc: css.el w3-vars.el w3.el