annotate lisp/w3/Makefile @ 80:1ce6082ce73f r20-0b90

Import from CVS: tag r20-0b90
author cvs
date Mon, 13 Aug 2007 09:06:37 +0200
parents 131b0175ea99
children 6a378aca36af
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 \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
38 url-pgp.el url-vars.el url-wais.el urlauth.el mm.el md5.el \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
39 ssl.el base64.el url.el socks.el
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 = \
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
46 w3.el w3-display.el w3-e19.el w3-parse.el w3-print.el \
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 62
diff changeset
47 w3-vars.el w3-xemac.el w3-style.el w3-about.el w3-hot.el \
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
48 w3-toolbar.el font.el w3-sysdp.el w3-annotat.el w3-auto.el \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
49 w3-forms.el images.el w3-imap.el w3-emulate.el w3-menu.el \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
50 w3-keyword.el w3-mouse.el w3-widget.el w3-speak.el w3-prefs.el \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
51 w3-latex.el dsssl.el css.el mule-sysdp.el $(CUSTOMSOURCES) \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
52 $(URLSOURCES)
14
9ee227acff29 Import from CVS: tag r19-15b90
cvs
parents: 2
diff changeset
53
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 62
diff changeset
54 OBJECTS = \
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
55 w3.elc w3-display.elc w3-e19.elc w3-parse.elc w3-print.elc \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
56 w3-vars.elc w3-xemac.elc w3-style.elc w3-about.elc w3-hot.elc \
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 62
diff changeset
57 w3-toolbar.elc font.elc w3-annotat.elc w3-auto.elc \
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 62
diff changeset
58 w3-forms.elc images.elc w3-imap.elc w3-emulate.elc w3-menu.elc \
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
59 w3-keyword.elc w3-mouse.elc w3-widget.elc w3-speak.elc \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
60 w3-prefs.elc w3-latex.elc css.elc dsssl.elc mule-sysdp.elc \
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
61 $(CUSTOMOBJECTS) $(URLOBJECTS)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 62
diff changeset
63 DISTFILES = Makefile ChangeLog $(SOURCES) w3.txi docomp.el \
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 62
diff changeset
64 clean-cache default.css
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 .SUFFIXES: .elc .el .el,v
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 .el.elc:
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
69 $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $<
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
71 w3: docomp.el $(OBJECTS)
38
1a767b41a199 Import from CVS: tag r19-15b102
cvs
parents: 36
diff changeset
72 @echo Build of w3 complete...
1a767b41a199 Import from CVS: tag r19-15b102
cvs
parents: 36
diff changeset
73
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
74 all: w3.info w3
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 install: all
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
77 @echo Installing in $(lispdir)
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
78 @( if [ ! -d $(lispdir) ]; then mkdir -p $(lispdir); fi )
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
79 @( if [ ! -d $(infodir) ]; then mkdir -p $(infodir); fi )
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
80 @( if [ ! -d $(confdir) ]; then mkdir -p $(confdir); fi )
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
81 $(INSTALL) -m 644 $(SOURCES) $(OBJECTS) $(lispdir)
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
82 $(INSTALL) -m 644 w3.info* $(infodir)
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
83 $(INSTALL) -m 644 default.css $(confdir)/stylesheet
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
84 $(INSTALL) -m 644 html32.dsl $(confdir)/
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 clean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 $(RM) $(OBJECTS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
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
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
100 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
101 css.elc: css.el font.el
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
102 w3.elc: css.el w3-vars.el