comparison lisp/url/Makefile @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children ac2d302a0011
comparison
equal deleted inserted replaced
-1:000000000000 0:376386a54a3c
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
5 EMACS = xemacs
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
22 # How to make a directory
23 # need a -p if you want to make the parents!
24 MKDIR = mkdir
25
26 # Various other stuff used
27 RM = rm -f
28 CP = cp
29 ############## no user servicable parts beyond this point ###################
30 MAJOR=1
31 MINOR=0
32
33 # Have to preload a few things to get a nice clean compile
34 DEPS = -l ./url-vars.el -l ./docomp.el
35
36 # compile with noninteractive and relatively clean environment
37 BATCHFLAGS = -batch -q -no-site-file
38
39 # What type of version this is - beta or normal
40 VTYPE = p
41 DIRNAME = url
42
43 .SUFFIXES: .elc .el .el,v
44
45 .el.elc:
46 $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $<
47
48 OBJECTS = \
49 url-file.elc \
50 url-nfs.elc \
51 url-cookie.elc \
52 url-irc.elc \
53 url-parse.elc \
54 url-gopher.elc \
55 url-hash.elc \
56 url-http.elc \
57 url-mail.elc \
58 url-misc.elc \
59 url-news.elc \
60 url-pgp.elc \
61 url-vars.elc \
62 url-wais.elc \
63 urlauth.elc \
64 mm.elc \
65 md5.elc \
66 ssl.elc \
67 base64.elc \
68 url.elc
69
70 SOURCES = \
71 docomp.el \
72 url-nfs.el \
73 url-sysdp.el \
74 url-file.el \
75 url-cookie.el \
76 url-parse.el \
77 url-irc.el \
78 url-gopher.el \
79 url-hash.el \
80 url-http.el \
81 url-mail.el \
82 url-misc.el \
83 url-news.el \
84 url-pgp.el \
85 url-vars.el \
86 url-wais.el \
87 urlauth.el \
88 mm.el \
89 md5.el \
90 ssl.el \
91 base64.el \
92 url.el
93
94 DISTFILES = $(SOURCES) descrip.mms
95
96 url: docomp.el $(OBJECTS)
97 @echo Build of url complete...
98
99 clean:
100 rm -f $(OBJECTS)
101
102 ChangeLog:
103 /usr/local/bin/rcs2log -h cs.indiana.edu -i 0 >| ChangeLog
104
105 version: ChangeLog url.info
106 @echo -n "Creating new version "
107 @mkdir $(DIRNAME)
108 @./incvers
109 @co -q $(DISTFILES)
110 @rcs -q -s$(VTYPE)$(MAJOR)-$(MINOR)-`cat .version` url-vars.el
111 @rcs -q -s$(VTYPE)$(MAJOR)-$(MINOR)-`cat .version` url.texi
112 @co -q -kv $(SOURCES) docomp.el url.texi
113 @mv $(DISTFILES) $(DIRNAME)
114 @cp Makefile $(DIRNAME)/Makefile
115 @touch $(DIRNAME)/THIS-IS-VERSION-$(MAJOR).$(MINOR).`cat .version`
116 @mv ChangeLog url.info* $(DIRNAME)
117 @echo -n "$(MAJOR).$(MINOR)."
118 @echo `cat .version`
119 @tar czf url-$(MAJOR).$(MINOR).`cat .version`.tar.gz $(DIRNAME)
120 @rcs -nv$(MAJOR)-$(MINOR)-`cat .version`: $(SOURCES)
121 @rm -fr $(DIRNAME)
122
123 url.html: url.texi
124 @texi2html -menu -split_node -verbose url.texi
125
126 url.info: url.texi
127 @$(MAKEINFO) url.texi
128
129 url.dvi: url.texi
130 @tex url.texi
131 @texindex url.cp url.fn url.ky url.pg url.tp url.vr
132 @tex url.texi
133 @rm -f url.cp url.fn url.ky url.pg url.tp url.vr \
134 url.cps url.fns url.kys url.pgs url.tps url.vrs \
135 url.log url.toc url.aux
136
137 install: url
138 @echo Installing in $(LISPDIR)
139 if [ ! -d $(LISPDIR) ] ; then $(MKDIR) $(LISPDIR) ; fi
140 (cd $(LISPDIR) ; $(RM) $(SOURCES) $(OBJECTS) url-sysdp.el*)
141 $(CP) $(SOURCES) $(OBJECTS) $(LISPDIR)
142 if [ ! -d $(INFODIR) ] ; then $(MKDIR) $(INFODIR) ; fi
143 $(CP) url.info* $(INFODIR)