annotate lisp/hyperbole/Makefile @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents c53a95d3c46d
children 1ce6082ce73f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 # SUMMARY: Build Hyperbole directories and distributions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 # AUTHOR: Bob Weiner
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 # ORIG-DATE: 15-Jun-94 at 03:42:38
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
7 # LAST-MOD: 3-Nov-95 at 23:57:26 by Bob Weiner
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 # This file is part of Hyperbole.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 # Available for use and distribution under the same terms as GNU Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 # Copyright (C) 1994-1995, Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # Developed with support from Motorola Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 # DESCRIPTION:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 # USAGE: Emacs V19, configure Hyperbole for use in current directory:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 # make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 # Rebuild out of date Emacs V19 Lisp .elc files:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 # make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 # If you really want to rebuild all .elc files under Emacs 19:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 # make all-elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 # Emacs V18 and Epoch, rebuild Hyperbole in current directory:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 # make all-elc-v18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # Build out of date Emacs V18 Lisp .elc files:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 # make elc-v18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 # DESCRIP-END.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 # CONFIGURABLE SECTION #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 # Executables for various versions of Emacs. Ensure that the name following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 # the equals sign is correct for the version of emacs to which you set the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 # EMACS variable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 EMACS19 = emacs19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 EMACS18 = emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 EPOCH = epoch
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 INFODOCK = infodock.bin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 XEMACS = xemacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 # Emacs version used to byte-compile .el files into .elc's.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 EMACS = $(XEMACS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 # Where to install the Hyperbole mouse key help file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 datadir = ../../etc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 # Where to install the Info version of the Hyperbole manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 infodir = ../../info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 # Where to install the Texinfo version of the Hyperbole manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 texidir = ../../man
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 # Site-specific Emacs Lisp libraries to load before byte-compiling any files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 # from this package. Typically the only reason to set this is to get Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 # to include the directory of this package into its load-path variable, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 # determines where it will find Lisp library files to load.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 # InfoDock and XEmacs 19.12 or higher include this package and automatically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 # add its directory to load-path. Under Emacs 19, if you add this directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 # to load-path in your site-lisp/site-start.el file, then you need not change
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 # this setting since site-start is automatically loaded whenever Emacs starts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 # up. If, however, you set load-path in your personal ~/.emacs file, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 # must add that to this setting.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 # You must include the .el or .elc file suffix on each library name and each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 # must be preceded by the `-l ' command-line flag. If the directory in which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 # the library is stored will not be in your Emacs load-path when Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 # attempts to load the library, you must include the full pathname to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 # library. Here is an example setting.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 # SITE_PRELOADS = -l ~/.emacs -l set-load-path.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 SITE_PRELOADS =
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 # Temp file to use to build .elc files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 ELISP_TO_COMPILE = /tmp/elc-${USER}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 # Shell used to process this Makefile. Bourne shell syntax is required.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 SHELL = /bin/sh
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 # UNIX commands you may want to change for your particular system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 CP = \cp -p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 DVIPS = \dvips
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 ETAGS = etags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 INSTALL = install -c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 MAKE = make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 MAKEINFO = \makeinfo --fill-column 74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 MV = \mv -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 RM = \rm -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 TAR = tar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 # Directory in which to create new distributions of Hyperbole.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 DIST_DIR = /tmp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 # NO CHANGES REQUIRED BELOW HERE. #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
99 HYPB_VERSION = 4.01
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
100
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
101 MAN_DIR = ../../man
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 # Libraries that must be pre-loaded before trying to byte-compile anything.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 PRELOADS = $(SITE_PRELOADS) -l ./hversion.el -l ./hyperbole.el -l ./hsite.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 # Compile in batch mode. Under Emacs 19 and XEmacs, load
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 # site-lisp/site-start.el, which may set load-path.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 BATCHFLAGS = -batch
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 # Directories other than the current directory in which to find files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 # This doesn't seem to work in all versions of make, so we also add kotl/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 # explicitly to those files which need it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 VPATH = kotl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 EL_SRC = hsite.el hui-em19-b.el hui-ep-but.el hui-epV4-b.el hui-xe-but.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 EL_COMPILE = hact.el hactypes.el hargs.el hbdata.el hbmap.el hbut.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 hgnus.el hhist.el hib-doc-id.el hib-kbd.el hibtypes.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 hinit.el hlvar.el hmail.el hmh.el hmoccur.el hmous-info.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 hmouse-drv.el hmouse-key.el hmouse-mod.el hmouse-reg.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 hmouse-sh.el hmouse-tag.el hpath.el hrmail.el hsmail.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 hsys-hbase.el hsys-w3.el hsys-wais.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 htz.el hui-menu.el hui-mini.el hui-mouse.el hui-window.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 hui.el hvar.el hversion.el hvm.el hypb.el hyperbole.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 set.el wconfig.el wrolo-logic.el wrolo-menu.el wrolo.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 EL_KOTL = kotl/kfile.el kotl/kfill.el kotl/kimport.el kotl/klabel.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 kotl/klink.el kotl/kmenu.el kotl/knode.el kotl/kotl-mode.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 kotl/kotl.el kotl/kproperty.el kotl/kprop-em.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 kotl/kprop-xe.el kotl/kview.el kotl/kvspec.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 ELC_COMPILE = hactypes.elc hibtypes.elc hib-kbd.elc hib-doc-id.elc hact.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 hargs.elc hbdata.elc hbmap.elc hbut.elc hgnus.elc hhist.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 hinit.elc hlvar.elc hmail.elc hmh.elc hmoccur.elc hmous-info.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 hmouse-drv.elc hmouse-key.elc hmouse-mod.elc hmouse-reg.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 hmouse-sh.elc hmouse-tag.elc hpath.elc hrmail.elc hsmail.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 hsys-hbase.elc hsys-w3.elc hsys-wais.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 htz.elc hui-menu.elc hui-mini.elc hui-mouse.elc hui-window.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 hui.elc hvar.elc hversion.elc hvm.elc hypb.elc hyperbole.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 set.elc wconfig.elc wrolo-logic.elc wrolo-menu.elc wrolo.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 ELC_KOTL = kotl/kfile.elc kotl/kfill.elc kotl/kimport.elc kotl/klabel.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 kotl/klink.elc kotl/kmenu.elc kotl/knode.elc kotl/kotl-mode.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 kotl/kotl.elc kotl/kproperty.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 kotl/kprop-xe.elc kotl/kview.el kotl/kvspec.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 EL_TAGS = $(EL_SRC) $(EL_COMPILE) $(EL_KOTL)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 .SUFFIXES: # Delete the default suffixes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 .SUFFIXES: .el .elc # Define the list of file suffixes to match to rules
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 # Install Hyperbole for use in current directory under Emacs 19.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 all: elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 doc: info ps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 install: elc doc
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
158 cd $(MAN_DIR); $(INSTALL) hypb-mouse.txt $(datadir); \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 $(INSTALL) hyperbole.info* $(infodir); \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 $(INSTALL) hyperbole.texi $(texidir)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 install-v18:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 $(MAKE) EMACS="$(EMACS18)" VPATH="" EL_KOTL="" ELC_KOTL="" install
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 # Record any .el files that need to be compiled.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 .el.elc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 @ echo $< >> $(ELISP_TO_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 # Compile all recorded .el files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 elc: elc-init hsite.el $(ELC_KOTL) $(ELC_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 @- \test ! -f $(ELISP_TO_COMPILE) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 || (echo "These files will be compiled: " \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 && echo "`cat $(ELISP_TO_COMPILE)`" \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 && $(EMACS) $(BATCHFLAGS) $(PRELOADS) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 -f batch-byte-compile `cat $(ELISP_TO_COMPILE)`)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 @ $(RM) $(ELISP_TO_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 elc-init:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 @ $(RM) $(ELISP_TO_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 elc-v18:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 $(MAKE) EMACS="$(EMACS18)" VPATH="" EL_KOTL="" ELC_KOTL="" elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 all-v19: all-elc install
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 all-v18: all-elc-v18 install-v18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 # Remove and then rebuild all byte-compiled .elc files for V19 Emacs, even
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 # those .elc files which do not yet exist.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 all-elc: hsite.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 $(RM) *.elc kotl/*.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 $(EMACS) $(BATCHFLAGS) $(PRELOADS) -f batch-byte-compile $(EL_KOTL) $(EL_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 # Remove and then rebuild all byte-compiled .elc files for V18 Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 # The kotl/ files are not used under V18 so they are not rebuilt.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 all-elc-v18:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 $(MAKE) EMACS="$(EMACS18)" VPATH="" EL_KOTL="" ELC_KOTL="" all-elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 # This creates the site-specific hsite.el file from hsite-ex.el if necessary.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 hsite.el: hsite-ex.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 \test -f hsite.el || $(CP) hsite-ex.el hsite.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
203 dvi: $(MAN_DIR)/hyperbole.dvi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 info: $(infodir)/hyperbole.info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
207 ps: $(MAN_DIR)/hyperbole.ps
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
209 $(MAN_DIR)/hyperbole.dvi: info
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
210 cd $(MAN_DIR); tex hyperbole.texi; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 texindex hyperbole.??; tex hyperbole.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
213 $(infodir)/hyperbole.info: $(MAN_DIR)/hyperbole.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
214 cd $(MAN_DIR); $(MAKEINFO) hyperbole.texi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
216 $(MAN_DIR)/hyperbole.ps: $(MAN_DIR)/hyperbole.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
217 make $(MAN_DIR)/hyperbole.dvi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
218 -$(RM) $(MAN_DIR)/hyperbole.ps
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
219 cd $(MAN_DIR); $(DVIPS) -o hyperbole.ps hyperbole.dvi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 tags: $(EL_TAGS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 $(ETAGS) $(EL_TAGS) h-skip-bytec.lsp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 clean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 -$(RM) core .place* .*~ *~ *\# *.orig *.rej .nfs*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 -cd kotl; $(RM) core .*~ *~ *\# *.orig *.rej .place* .nfs*
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
227 -cd $(MAN_DIR); $(RM) core .*~ *~ *\# *.orig *.rej .place* .nfs*
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 version:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 fgrep $(HYPB_VERSION) Makefile README hversion.el \
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
231 $(MAN_DIR)/hyperbole.texi; echo ""
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 # Don't use this target.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 bw-install:
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
235 cd /usr/local/infodock/lisp/; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 tar zxvf /tmp/hyperbole-$(HYPB_VERSION).tar.gz; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 cd hyperbole/; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 mv man/hyperbole.info* ../../info/; mv man/hyperbole.texi ../../man/; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 mv man/hypb-mouse.txt ../../etc/; rm -rf man
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 dist: version elc info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 echo "Ensure version # in README, hversion.el, Makefile and man/hyperbole.texi is up to date."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 cd ..; $(TAR) clf $(DIST_DIR)/h.tar hyperbole; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 $(RM) -r $(DIST_DIR)/hman; mkdir $(DIST_DIR)/hman; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 $(CP) ../man/hyperbole.texi ../info/hyperbole.info* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 ../etc/hypb-mouse.txt $(DIST_DIR)/hman
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 $(RM) -r $(DIST_DIR)/hyperbole
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
248 cd $(DIST_DIR); $(TAR) xf h.tar; $(MV) hman hyperbole/man
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 cd $(DIST_DIR)/hyperbole; make distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 # This ver setup won't work under SunOS for some reason.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 # ver="`head -3 hyperbole/hversion.el | tail -1 | sed -e 's/.*|//'`"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 cd $(DIST_DIR); $(RM) h.tar ver; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 $(TAR) --gzip -clf hyperbole-$(HYPB_VERSION).tar.gz hyperbole
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 # Don't run this target manually. Use 'make dist' instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 distclean: clean
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
257 -$(RM) TAGS hsite.el* kotl/TO-DO* $(MAN_DIR)/hyperbole.dvi \
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 36
diff changeset
258 $(MAN_DIR)/hyperbole.??