Commit | Line | Data |
---|---|---|
46947372 JB |
1 | # DIST: This is the distribution Makefile for Emacs. configure can |
2 | # DIST: make most of the changes to this file you might want, so try | |
3 | # DIST: that first. | |
86a5659e | 4 | |
b3ae7a0a | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
9dfcf5a5 | 6 | # 2000, 2001, 2002 Free Software Foundation, Inc. |
b3ae7a0a GM |
7 | |
8 | # This file is part of GNU Emacs. | |
9 | ||
10 | # GNU Emacs is free software; you can redistribute it and/or modify | |
11 | # it under the terms of the GNU General Public License as published by | |
12 | # the Free Software Foundation; either version 2, or (at your option) | |
13 | # any later version. | |
14 | ||
15 | # GNU Emacs is distributed in the hope that it will be useful, | |
16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | # GNU General Public License for more details. | |
19 | ||
20 | # You should have received a copy of the GNU General Public License | |
21 | # along with GNU Emacs; see the file COPYING. If not, write to | |
22 | # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
23 | # Boston, MA 02111-1307, USA. | |
24 | ||
46947372 JB |
25 | # make all to compile and build Emacs. |
26 | # make install to install it. | |
78008d14 | 27 | # make TAGS to update tags tables. |
86a5659e | 28 | # |
78008d14 JB |
29 | # make clean or make mostlyclean |
30 | # Delete all files from the current directory that are normally | |
868e080d | 31 | # created by building the program. Don't delete the files that |
78008d14 JB |
32 | # record the configuration. Also preserve files that could be made |
33 | # by building, but normally aren't because the distribution comes | |
34 | # with them. | |
35 | # | |
36 | # Delete `.dvi' files here if they are not part of the distribution. | |
177c0ea7 | 37 | # |
78008d14 JB |
38 | # make distclean |
39 | # Delete all files from the current directory that are created by | |
40 | # configuring or building the program. If you have unpacked the | |
41 | # source and built the program without creating any other files, | |
42 | # `make distclean' should leave only the files that were in the | |
43 | # distribution. | |
177c0ea7 | 44 | # |
26873b72 | 45 | # make maintainer-clean |
78008d14 JB |
46 | # Delete everything from the current directory that can be |
47 | # reconstructed with this Makefile. This typically includes | |
48 | # everything deleted by distclean, plus more: C source files | |
49 | # produced by Bison, tags tables, info files, and so on. | |
50 | # | |
51 | # make extraclean | |
52 | # Still more severe - delete backup and autosave files, too. | |
86a5659e JB |
53 | |
54 | SHELL = /bin/sh | |
2dc44cb5 RS |
55 | |
56 | # If Make doesn't predefine MAKE, set it here. | |
57 | @SET_MAKE@ | |
86a5659e | 58 | |
78008d14 | 59 | # ==================== Things `configure' Might Edit ==================== |
86a5659e | 60 | |
c75ff9db | 61 | CC=@CC@ |
d4acf74f | 62 | CPP=@CPP@ |
c75ff9db | 63 | C_SWITCH_SYSTEM=@c_switch_system@ |
d3245f70 | 64 | ALLOCA=@ALLOCA@ |
b6472fc1 JB |
65 | LN_S=@LN_S@ |
66 | CFLAGS=@CFLAGS@ | |
bb5f88cc | 67 | LDFLAGS=@LDFLAGS@ |
e17d7117 | 68 | CPPFLAGS=@CPPFLAGS@ |
46af2ed8 | 69 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
09b89128 | 70 | LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@ |
4b5a51c1 | 71 | YACC=@YACC@ |
78008d14 JB |
72 | |
73 | ### These help us choose version- and architecture-specific directories | |
74 | ### to install files in. | |
75 | ||
76 | ### This should be the number of the Emacs version we're building, | |
77 | ### like `18.59' or `19.0'. | |
c75ff9db | 78 | version=@version@ |
78008d14 JB |
79 | |
80 | ### This should be the name of the configuration we're building Emacs | |
81 | ### for, like `mips-dec-ultrix' or `sparc-sun-sunos'. | |
c75ff9db JB |
82 | configuration=@configuration@ |
83 | ||
78008d14 JB |
84 | # ==================== Where To Install Things ==================== |
85 | ||
46947372 | 86 | # The default location for installation. Everything is placed in |
78008d14 JB |
87 | # subdirectories of this directory. The default values for many of |
88 | # the variables below are expressed in terms of this one, so you may | |
8d467c70 JB |
89 | # not need to change them. This defaults to /usr/local. |
90 | prefix=@prefix@ | |
86a5659e | 91 | |
78008d14 | 92 | # Like `prefix', but used for architecture-specific files. |
86ddcc58 | 93 | exec_prefix=@exec_prefix@ |
78008d14 | 94 | |
46947372 JB |
95 | # Where to install Emacs and other binaries that people will want to |
96 | # run directly (like etags). | |
0e265b72 | 97 | bindir=@bindir@ |
86a5659e | 98 | |
868e080d | 99 | # Where to install architecture-independent data files. ${lispdir} |
78008d14 | 100 | # and ${etcdir} are subdirectories of this. |
0e265b72 | 101 | datadir=@datadir@ |
0c22fbca JB |
102 | |
103 | # Where to install and expect the files that Emacs modifies as it | |
c5bfadd6 RS |
104 | # runs. These files are all architecture-independent. |
105 | # Right now, this is not used. | |
3e74e344 | 106 | sharedstatedir=@sharedstatedir@ |
0c22fbca JB |
107 | |
108 | # Where to install and expect executable files to be run by Emacs | |
109 | # rather than directly by users, and other architecture-dependent | |
868e080d | 110 | # data. ${archlibdir} is a subdirectory of this. |
2fd54e64 | 111 | libexecdir=@libexecdir@ |
0c22fbca JB |
112 | |
113 | # Where to install Emacs's man pages, and what extension they should have. | |
0e265b72 | 114 | mandir=@mandir@ |
0c22fbca | 115 | manext=.1 |
88e7bbf1 | 116 | man1dir=$(mandir)/man1 |
0c22fbca JB |
117 | |
118 | # Where to install and expect the info files describing Emacs. In the | |
119 | # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but | |
120 | # since there are now many packages documented with the texinfo | |
121 | # system, it is inappropriate to imply that it is part of Emacs. | |
0e265b72 | 122 | infodir=@infodir@ |
86a5659e | 123 | |
97f1ce35 RS |
124 | # Directory for local state files for all programs. |
125 | localstatedir=@localstatedir@ | |
126 | ||
b2f3c6b2 RS |
127 | # Where to look for bitmap files. |
128 | bitmapdir=@bitmapdir@ | |
129 | ||
00c29909 | 130 | # Where to find the source code. The source code for Emacs's C kernel is |
78008d14 JB |
131 | # expected to be in ${srcdir}/src, and the source code for Emacs's |
132 | # utility programs is expected to be in ${srcdir}/lib-src. This is | |
133 | # set by the configure script's `--srcdir' option. | |
0d60d4ef RS |
134 | |
135 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. | |
d3245f70 | 136 | srcdir=@srcdir@ |
86a5659e | 137 | |
f854bb66 RM |
138 | # Tell make where to find source files; this is needed for the makefiles. |
139 | VPATH=@srcdir@ | |
140 | ||
3163d9cf RS |
141 | # Where to find the application default. |
142 | x_default_search_path=@x_default_search_path@ | |
143 | ||
52cd7d02 ST |
144 | # Location to install Emacs.app on Mac OS X |
145 | carbon_appdir=@carbon_appdir@ | |
146 | ||
0c22fbca JB |
147 | # ==================== Emacs-specific directories ==================== |
148 | ||
78008d14 JB |
149 | # These variables hold the values Emacs will actually use. They are |
150 | # based on the values of the standard Make variables above. | |
151 | ||
0e265b72 BF |
152 | # Where to install the lisp files distributed with |
153 | # Emacs. This includes the Emacs version, so that the | |
154 | # lisp files for different versions of Emacs will install | |
155 | # themselves in separate directories. | |
156 | lispdir=@lispdir@ | |
d3245f70 | 157 | |
0e265b72 BF |
158 | # Directories Emacs should search for lisp files specific |
159 | # to this site (i.e. customizations), before consulting | |
160 | # ${lispdir}. This should be a colon-separated list of | |
161 | # directories. | |
162 | locallisppath=@locallisppath@ | |
d3245f70 JB |
163 | |
164 | # Where Emacs will search to find its lisp files. Before | |
165 | # changing this, check to see if your purpose wouldn't | |
166 | # better be served by changing locallisppath. This | |
46947372 | 167 | # should be a colon-separated list of directories. |
0e265b72 | 168 | lisppath=@lisppath@ |
86a5659e | 169 | |
d3245f70 JB |
170 | # Where Emacs will search for its lisp files while |
171 | # building. This is only used during the process of | |
172 | # compiling Emacs, to help Emacs find its lisp files | |
173 | # before they've been installed in their final location. | |
177c0ea7 | 174 | # It's usually identical to lisppath, except that |
90ac71dc | 175 | # it does not include locallisppath, and the |
d3245f70 JB |
176 | # entry for the directory containing the installed lisp |
177 | # files has been replaced with ../lisp. This should be a | |
178 | # colon-separated list of directories. | |
3dbc7e32 | 179 | buildlisppath=${srcdir}/lisp |
86a5659e | 180 | |
0e265b72 BF |
181 | # Where to install the other architecture-independent |
182 | # data files distributed with Emacs (like the tutorial, | |
183 | # the cookie recipes and the Zippy database). This path | |
184 | # usually contains the Emacs version number, so the data | |
185 | # files for multiple versions of Emacs may be installed | |
186 | # at once. | |
187 | etcdir=@etcdir@ | |
188 | ||
0e265b72 BF |
189 | # Where to put executables to be run by Emacs rather than |
190 | # the user. This path usually includes the Emacs version | |
191 | # and configuration name, so that multiple configurations | |
192 | # for multiple versions of Emacs may be installed at | |
193 | # once. | |
194 | archlibdir=@archlibdir@ | |
a34902ab | 195 | |
e408046f KH |
196 | # Where to put the docstring file. |
197 | docdir=@docdir@ | |
198 | ||
97f1ce35 RS |
199 | # Where to install Emacs game score files. |
200 | gamedir=@gamedir@ | |
201 | ||
46947372 JB |
202 | # ==================== Utility Programs for the Build ==================== |
203 | ||
204 | # Allow the user to specify the install program. | |
19697295 | 205 | INSTALL = @INSTALL@ |
86ddcc58 JB |
206 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
207 | INSTALL_DATA = @INSTALL_DATA@ | |
82b96f95 | 208 | INSTALL_INFO = @INSTALL_INFO@ |
c1b8c545 RS |
209 | # By default, we uphold the dignity of our programs. |
210 | INSTALL_STRIP = | |
46947372 | 211 | |
46947372 | 212 | # ============================= Targets ============================== |
86a5659e | 213 | |
a4663fed PJ |
214 | # Program name transformation. |
215 | TRANSFORM = @program_transform_name@ | |
216 | ||
9ef7f9f0 | 217 | # What emacs should be called when installed. |
c60ee5e7 JB |
218 | EMACS = `echo emacs@EXEEXT@ | sed '$(TRANSFORM)'` |
219 | EMACSFULL = `echo emacs-${version}@EXEEXT@ | sed '$(TRANSFORM)'` | |
9ef7f9f0 | 220 | |
86a5659e | 221 | # Subdirectories to make recursively. `lisp' is not included |
42c615ae | 222 | # because the compiled lisp files are part of the distribution. |
4ce7f03e GM |
223 | # leim is not included because it needs special handling. |
224 | SUBDIR = lib-src src | |
86a5659e | 225 | |
78008d14 | 226 | # The makefiles of the directories in $SUBDIR. |
3430f697 | 227 | SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile lispref/Makefile lispintro/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile leim/Makefile |
78008d14 | 228 | |
83f6a565 JB |
229 | # Subdirectories to install, and where they'll go. |
230 | # lib-src's makefile knows how to install it, so we don't do that here. | |
c55db078 | 231 | # leim's makefile also knows how to install it, so we don't do that here. |
83f6a565 JB |
232 | # When installing the info files, we need to do special things to |
233 | # avoid nuking an existing dir file, so we don't do that here; | |
234 | # instead, we have written out explicit code in the `install' targets. | |
78c7997f RS |
235 | COPYDIR = ${srcdir}/etc ${srcdir}/lisp |
236 | COPYDESTS = ${etcdir} ${lispdir} | |
86a5659e | 237 | |
2b572fdc | 238 | # Set to FRC to force running autoconf and autoheader |
177c0ea7 | 239 | MAINT = |
2b572fdc | 240 | |
0635d9fa | 241 | all: ${SUBDIR} leim |
86a5659e | 242 | |
309848ba | 243 | removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' |
46947372 | 244 | |
c138b63b RS |
245 | # Generate epaths.h from epaths.in. This target is invoked by `configure'. |
246 | epaths-force: FRC | |
8672a560 RS |
247 | @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ |
248 | buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ | |
3163d9cf | 249 | x_default_search_path=`echo ${x_default_search_path}`; \ |
97f1ce35 | 250 | gamedir=`echo ${gamedir}`; \ |
c138b63b | 251 | sed < ${srcdir}/src/epaths.in > epaths.h.$$$$ \ |
8672a560 RS |
252 | -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ |
253 | -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ | |
254 | -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ | |
255 | -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ | |
256 | -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ | |
b2f3c6b2 | 257 | -e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \ |
3163d9cf | 258 | -e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \ |
97f1ce35 | 259 | -e 's;\(#.*PATH_GAME\).*$$;\1 "${gamedir}";' \ |
3f16db29 | 260 | -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \ |
c138b63b | 261 | ${srcdir}/move-if-change epaths.h.$$$$ src/epaths.h |
8672a560 | 262 | |
bea3ec88 | 263 | # For parallel make, src should be build before leim. |
4ce7f03e GM |
264 | # "export PARALLEL=0" is for SGI's Make, to prevent it from |
265 | # running more than 1 process in the leim directory, especially for | |
266 | # the $TIT files there. | |
267 | leim: src ${SUBDIR_MAKEFILES} FRC | |
268 | (export PARALLEL; PARALLEL=0; cd $@; $(MAKE) all $(MFLAGS) \ | |
269 | CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ | |
270 | LDFLAGS='${LDFLAGS}' MAKE='${MAKE}') | |
bea3ec88 | 271 | |
0a0dca73 | 272 | src: lib-src FRC |
a874c104 | 273 | |
f2f4aae9 | 274 | lib-src: FRC src/config.stamp |
86a5659e | 275 | |
4ce7f03e | 276 | .RECURSIVE: ${SUBDIR} leim |
86a5659e | 277 | |
0635d9fa | 278 | ${SUBDIR}: maybe_bootstrap ${SUBDIR_MAKEFILES} FRC |
0e265b72 | 279 | cd $@; $(MAKE) all $(MFLAGS) \ |
7c811eec RS |
280 | CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ |
281 | LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' | |
0e265b72 | 282 | |
8672a560 | 283 | blessmail: ${SUBDIR_MAKEFILES} src FRC |
df8bde8b RS |
284 | cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \ |
285 | MAKE='${MAKE}' archlibdir='$(archlibdir)' | |
d541babe | 286 | |
bd5f5333 | 287 | Makefile: $(srcdir)/Makefile.in config.status |
0e265b72 BF |
288 | ./config.status |
289 | ||
ade0bb57 | 290 | config.status: ${srcdir}/configure |
7763df25 DL |
291 | ./config.status --recheck |
292 | ||
2b572fdc | 293 | ${srcdir}/configure: $(MAINT) |
7763df25 DL |
294 | cd ${srcdir} && autoconf |
295 | ||
9dfcf5a5 AS |
296 | $(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in |
297 | @true | |
2b572fdc | 298 | $(srcdir)/src/stamp-h.in: $(MAINT) |
9dfcf5a5 AS |
299 | cd ${srcdir} && autoheader |
300 | rm -f $(srcdir)/src/stamp-h.in | |
301 | echo timestamp > $(srcdir)/src/stamp-h.in | |
302 | ||
bd5f5333 | 303 | src/Makefile: $(srcdir)/src/Makefile.in config.status |
0e265b72 BF |
304 | ./config.status |
305 | ||
bd5f5333 | 306 | src/config.stamp: $(srcdir)/src/config.in config.status |
a5f32ce4 | 307 | ./config.status |
f2f4aae9 | 308 | touch src/config.stamp |
a5f32ce4 | 309 | |
bd5f5333 | 310 | lib-src/Makefile: $(srcdir)/lib-src/Makefile.in config.status |
0e265b72 BF |
311 | ./config.status |
312 | ||
bd5f5333 | 313 | man/Makefile: $(srcdir)/man/Makefile.in config.status |
fdeed418 RS |
314 | ./config.status |
315 | ||
45726797 EZ |
316 | lispref/Makefile: $(srcdir)/lispref/Makefile.in config.status |
317 | ./config.status | |
318 | ||
3430f697 EZ |
319 | lispintro/Makefile: $(srcdir)/lispintro/Makefile.in config.status |
320 | ./config.status | |
321 | ||
bd5f5333 | 322 | oldXMenu/Makefile: $(srcdir)/oldXMenu/Makefile.in config.status |
78008d14 JB |
323 | ./config.status |
324 | ||
bd5f5333 | 325 | lwlib/Makefile: $(srcdir)/lwlib/Makefile.in config.status |
98dfba1b RS |
326 | ./config.status |
327 | ||
bd5f5333 | 328 | leim/Makefile: $(srcdir)/leim/Makefile.in config.status |
c55db078 KH |
329 | ./config.status |
330 | ||
78008d14 JB |
331 | # ==================== Installation ==================== |
332 | ||
dbc4e1c1 JB |
333 | ## If we let lib-src do its own installation, that means we |
334 | ## don't have to duplicate the list of utilities to install in | |
335 | ## this Makefile as well. | |
d3245f70 | 336 | |
3dbc7e32 JB |
337 | ## On AIX, use tar xBf. |
338 | ## On Xenix, use tar xpf. | |
339 | ||
9ef7f9f0 | 340 | .PHONY: install mkdir |
98dfba1b | 341 | |
d3245f70 JB |
342 | ## We delete each directory in ${COPYDESTS} before we copy into it; |
343 | ## that way, we can reinstall over directories that have been put in | |
344 | ## place with their files read-only (perhaps because they are checked | |
345 | ## into RCS). In order to make this safe, we make sure that the | |
346 | ## source exists and is distinct from the destination. | |
d7ce568f RS |
347 | ### We do install-arch-indep first because |
348 | ### the executable needs the Lisp files and DOC file to work properly. | |
cff455ae | 349 | install: all install-arch-indep install-arch-dep install-leim blessmail |
a5038ae5 | 350 | @true |
8b14d296 | 351 | |
d7e2eff6 | 352 | ### Install the executables that were compiled specifically for this machine. |
d7ce568f RS |
353 | ### It would be nice to do something for a parallel make |
354 | ### to ensure that install-arch-indep finishes before this starts. | |
355 | install-arch-dep: mkdir | |
8b14d296 | 356 | (cd lib-src; \ |
0e265b72 | 357 | $(MAKE) install $(MFLAGS) prefix=${prefix} \ |
2fd54e64 | 358 | exec_prefix=${exec_prefix} bindir=${bindir} \ |
c1b8c545 RS |
359 | libexecdir=${libexecdir} archlibdir=${archlibdir} \ |
360 | INSTALL_STRIP=${INSTALL_STRIP}) | |
c60ee5e7 | 361 | ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs@EXEEXT@ ${bindir}/$(EMACSFULL) |
a4663fed | 362 | -chmod 1755 ${bindir}/$(EMACSFULL) |
9ef7f9f0 | 363 | rm -f ${bindir}/$(EMACS) |
a4663fed | 364 | -ln ${bindir}/$(EMACSFULL) ${bindir}/$(EMACS) |
10db7fc5 | 365 | -unset CDPATH; \ |
764b077c | 366 | for f in `cd lib-src && echo fns-*.el`; do \ |
50d7ce09 KR |
367 | if test -r lib-src/$$f ; then \ |
368 | ${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \ | |
369 | else true; fi ; \ | |
cec762da | 370 | done |
52cd7d02 ST |
371 | if test "${carbon_appdir}" != ""; then \ |
372 | umask 022; mkdir -p ${carbon_appdir}/Emacs.app; \ | |
373 | (cd mac/Emacs.app; tar -chf - . ) | \ | |
374 | (cd ${carbon_appdir}/Emacs.app; umask 022; tar -xvf - \ | |
375 | && cat > /dev/null) || exit 1; \ | |
376 | fi | |
08068cb6 | 377 | |
d7e2eff6 RS |
378 | ### Install the files that are machine-independent. |
379 | ### Most of them come straight from the distribution; | |
380 | ### the exception is the DOC-* files, which are copied | |
24127cf7 | 381 | ## from the build directory. |
d7e2eff6 | 382 | |
24127cf7 KH |
383 | ## Note that we copy DOC* and then delete DOC |
384 | ## as a workaround for a bug in tar on Ultrix 4.2. | |
8422aeb7 EZ |
385 | |
386 | ## If people complain about the h flag in tar command, take that out. | |
387 | ## That flag is also used in leim/Makefile.in | |
97f4fff8 | 388 | install-arch-indep: mkdir info |
46947372 | 389 | -set ${COPYDESTS} ; \ |
97aa9c1d | 390 | unset CDPATH; \ |
d7e2eff6 RS |
391 | for dir in ${COPYDIR} ; do \ |
392 | if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \ | |
393 | rm -rf $$1 ; \ | |
394 | fi ; \ | |
395 | shift ; \ | |
396 | done | |
005775ce | 397 | -set ${COPYDESTS} ; \ |
d7e2eff6 RS |
398 | mkdir ${COPYDESTS} ; \ |
399 | chmod ugo+rx ${COPYDESTS} ; \ | |
97aa9c1d | 400 | unset CDPATH; \ |
d7e2eff6 RS |
401 | for dir in ${COPYDIR} ; do \ |
402 | dest=$$1 ; shift ; \ | |
403 | [ -d $${dir} ] \ | |
404 | && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \ | |
405 | && (echo "Copying $${dir} to $${dest}..." ; \ | |
bc171472 | 406 | (cd $${dir}; tar -chf - . ) \ |
0d44146b GM |
407 | | (cd $${dest}; umask 022; \ |
408 | tar -xvf - && cat > /dev/null) || exit 1; \ | |
c60ee5e7 | 409 | find $${dest} -exec chown $${LOGNAME:-$$USERNAME} {} ';' ;\ |
b992884d | 410 | for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ |
5fab7212 | 411 | chmod a+rx $${subdir} ; \ |
d7e2eff6 RS |
412 | rm -rf $${subdir}/RCS ; \ |
413 | rm -rf $${subdir}/CVS ; \ | |
db569adb | 414 | rm -f $${subdir}/.cvsignore ; \ |
d7e2eff6 RS |
415 | rm -f $${subdir}/\#* ; \ |
416 | rm -f $${subdir}/.\#* ; \ | |
417 | rm -f $${subdir}/*~ ; \ | |
418 | rm -f $${subdir}/*.orig ; \ | |
419 | rm -f $${subdir}/[mM]akefile* ; \ | |
420 | rm -f $${subdir}/ChangeLog* ; \ | |
421 | rm -f $${subdir}/dired.todo ; \ | |
422 | done) ; \ | |
423 | done | |
b2f3c6b2 | 424 | -rm -f ${lispdir}/subdirs.el |
b4594994 | 425 | $(srcdir)/update-subdirs ${lispdir} |
9f059d3c RS |
426 | if [ -f ${datadir}/emacs/${version}/site-lisp/subdirs.el ]; \ |
427 | then true; \ | |
428 | else \ | |
429 | (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ | |
430 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | |
d56a1167 | 431 | > ${datadir}/emacs/${version}/site-lisp/subdirs.el; \ |
9f059d3c | 432 | fi |
23f1af23 | 433 | chmod a+r ${datadir}/emacs/${version}/site-lisp/subdirs.el |
ad8cf30f | 434 | -if [ -f ${datadir}/emacs/site-lisp/subdirs.el ]; \ |
9f059d3c RS |
435 | then true; \ |
436 | else \ | |
437 | (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ | |
438 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | |
d56a1167 | 439 | > ${datadir}/emacs/site-lisp/subdirs.el; \ |
9f059d3c | 440 | fi |
ad8cf30f | 441 | -chmod a+r ${datadir}/emacs/site-lisp/subdirs.el |
10db7fc5 | 442 | -unset CDPATH; \ |
3be1f08e RS |
443 | if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ |
444 | then \ | |
99d7a69d | 445 | echo "Copying etc/DOC-* to ${docdir} ..." ; \ |
bc171472 | 446 | (cd ./etc; tar -chf - DOC*) \ |
7eb7c544 | 447 | |(cd ${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ |
c60ee5e7 | 448 | (cd $(docdir); chown $${LOGNAME:-$$USERNAME} DOC*; chmod a+r DOC*; \ |
7869ed75 | 449 | if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \ |
3be1f08e | 450 | else true; fi |
10db7fc5 | 451 | -unset CDPATH; \ |
2c4396c4 AS |
452 | if [ -r ./lisp ] \ |
453 | && [ -r ./lisp/simple.el ] \ | |
56ab7fbb AS |
454 | && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \ |
455 | && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \ | |
9ca335ed RS |
456 | then \ |
457 | echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ | |
2c4396c4 | 458 | (cd lisp; tar -chf - *.el *.elc) \ |
7eb7c544 | 459 | |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ |
c60ee5e7 | 460 | (cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \ |
9ca335ed | 461 | else true; fi |
10db7fc5 | 462 | -unset CDPATH; \ |
8672a560 | 463 | thisdir=`/bin/pwd`; \ |
21e8e1db | 464 | if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
5e9e88fd | 465 | then \ |
469dd2ef | 466 | (cd ${infodir}; \ |
23f1af23 RS |
467 | if [ -f dir ]; then true; \ |
468 | else \ | |
469 | (cd $${thisdir}; \ | |
470 | ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir; \ | |
471 | chmod a+r ${infodir}/dir); \ | |
efe7425c | 472 | fi; \ |
469dd2ef | 473 | cd ${srcdir}/info ; \ |
b3ae255b | 474 | for f in ada-mode* autotype* calc* ccmode* cl* dired-x* ebrowse* ediff* efaq* eintr* elisp* emacs* eshell* eudc* forms* gnus* idlwave* info* message* mh-e* pcl-cvs* reftex* sc* speedbar* tramp* vip* widget* woman*; do \ |
d7e2eff6 RS |
475 | (cd $${thisdir}; \ |
476 | ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ | |
dedd2c6d | 477 | chmod a+r ${infodir}/$$f); \ |
ce0b6622 | 478 | done); \ |
21e8e1db | 479 | else true; fi |
700fa9d1 RS |
480 | -unset CDPATH; \ |
481 | thisdir=`/bin/pwd`; \ | |
dedd2c6d RS |
482 | if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
483 | then \ | |
b3ae255b | 484 | for f in ada-mode autotype calc ccmode cl dired-x ebrowse ediff efaq elisp eintr emacs emacs-mime eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar tramp vip viper widget woman; do \ |
dedd2c6d | 485 | (cd $${thisdir}; \ |
1da437e9 | 486 | ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/$$f); \ |
dedd2c6d RS |
487 | done; \ |
488 | else true; fi | |
b1b77d62 | 489 | -chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir} |
d7e2eff6 RS |
490 | thisdir=`/bin/pwd`; \ |
491 | cd ${srcdir}/etc; \ | |
88991118 | 492 | for page in emacs emacsclient etags ctags ; do \ |
d7e2eff6 RS |
493 | (cd $${thisdir}; \ |
494 | ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}; \ | |
495 | chmod a+r ${man1dir}/$${page}${manext}); \ | |
868e080d | 496 | done |
badb0a97 | 497 | |
24127cf7 KH |
498 | ### Install LEIM files. Although they are machine-independent, we |
499 | ### have separate target here instead of including it in | |
500 | ### `install-arch-indep'. People who extracted LEIM files after they | |
501 | ### insalled Emacs itself can install only LEIM files by this target. | |
bea3ec88 | 502 | install-leim: leim/Makefile mkdir |
c10f84fb | 503 | cd leim; $(MAKE) install |
24127cf7 | 504 | |
8df9abae RS |
505 | ### Build Emacs and install it, stripping binaries while installing them. |
506 | install-strip: | |
97f4fff8 | 507 | $(MAKE) INSTALL_STRIP=-s install |
8df9abae | 508 | |
868e080d | 509 | ### Build all the directories we're going to install Emacs in. Since |
78008d14 | 510 | ### we may be creating several layers of directories (for example, |
614b45a7 | 511 | ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use mkinstalldirs |
6784fb67 | 512 | ### instead of mkdir. Not all systems' mkdir programs have the `-p' flag. |
05ed817f | 513 | mkdir: FRC |
b1b77d62 RS |
514 | if [ -d ${datadir} ]; then true; else \ |
515 | $(srcdir)/mkinstalldirs ${datadir}; \ | |
516 | chmod a+r ${datadir};\ | |
517 | fi | |
c5bfadd6 | 518 | $(srcdir)/mkinstalldirs ${COPYDESTS} ${infodir} ${man1dir} \ |
b1b77d62 | 519 | ${bindir} ${docdir} ${libexecdir} \ |
23f1af23 RS |
520 | ${datadir}/emacs/site-lisp \ |
521 | ${datadir}/emacs/${version}/site-lisp \ | |
309848ba | 522 | `echo ${locallisppath} | sed 's/:/ /g'` |
86a5659e | 523 | |
d4acf74f JB |
524 | ### Delete all the installed files that the `install' target would |
525 | ### create (but not the noninstalled files such as `make all' would | |
526 | ### create). | |
44257b1a JB |
527 | ### |
528 | ### Don't delete the lisp and etc directories if they're in the source tree. | |
d4acf74f | 529 | uninstall: |
44257b1a | 530 | (cd lib-src; \ |
0e265b72 | 531 | $(MAKE) $(MFLAGS) uninstall \ |
44257b1a | 532 | prefix=${prefix} exec_prefix=${exec_prefix} \ |
2fd54e64 | 533 | bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir}) |
10db7fc5 | 534 | -unset CDPATH; \ |
44257b1a | 535 | for dir in ${lispdir} ${etcdir} ; do \ |
726d0798 | 536 | if [ -d $${dir} ]; then \ |
8672a560 RS |
537 | case `(cd $${dir} ; /bin/pwd)` in \ |
538 | `(cd ${srcdir} ; /bin/pwd)`* ) ;; \ | |
726d0798 RS |
539 | * ) rm -rf $${dir} ;; \ |
540 | esac ; \ | |
541 | case $${dir} in \ | |
542 | ${datadir}/emacs/${version}/* ) \ | |
543 | rm -rf ${datadir}/emacs/${version} \ | |
544 | ;; \ | |
545 | esac ; \ | |
546 | fi ; \ | |
44257b1a | 547 | done |
41613c15 | 548 | (cd ${archlibdir} && rm -f fns-*) |
5db37a2e | 549 | -rm -rf ${libexecdir}/emacs/${version} |
b3ae255b | 550 | (cd ${infodir} && rm -f cl* ada-mode* autotype* calc* ccmode* ebrowse* efaq* eintr elisp* eshell* eudc* idlwave* message* pcl-cvs* reftex* speedbar* tramp* widget* woman* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*) |
88991118 | 551 | (cd ${man1dir} && rm -f emacs${manext} emacsclient${manext} etags${manext} ctags${manext}) |
f293a52a | 552 | (cd ${bindir} && rm -f $(EMACSFULL) $(EMACS)) |
d4acf74f JB |
553 | |
554 | ||
05ed817f | 555 | FRC: |
78008d14 JB |
556 | |
557 | # ==================== Cleaning up and miscellanea ==================== | |
558 | ||
26873b72 | 559 | .PHONY: mostlyclean clean distclean maintainer-clean extraclean |
98dfba1b | 560 | |
78008d14 | 561 | ### `mostlyclean' |
d4acf74f JB |
562 | ### Like `clean', but may refrain from deleting a few files that people |
563 | ### normally don't want to recompile. For example, the `mostlyclean' | |
564 | ### target for GCC does not delete `libgcc.a', because recompiling it | |
565 | ### is rarely necessary and takes a lot of time. | |
05ed817f | 566 | mostlyclean: FRC |
0e265b72 BF |
567 | (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
568 | (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean) | |
98dfba1b | 569 | (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean) |
0e265b72 | 570 | (cd lib-src; $(MAKE) $(MFLAGS) mostlyclean) |
e6124e9d | 571 | -(cd man && $(MAKE) $(MFLAGS) mostlyclean) |
45726797 | 572 | -(cd lispref && $(MAKE) $(MFLAGS) mostlyclean) |
3430f697 | 573 | -(cd lispintro && $(MAKE) $(MFLAGS) mostlyclean) |
fa2ea19a | 574 | (cd leim; $(MAKE) $(MFLAGS) mostlyclean) |
d4acf74f JB |
575 | |
576 | ### `clean' | |
577 | ### Delete all files from the current directory that are normally | |
578 | ### created by building the program. Don't delete the files that | |
579 | ### record the configuration. Also preserve files that could be made | |
580 | ### by building, but normally aren't because the distribution comes | |
581 | ### with them. | |
177c0ea7 | 582 | ### |
d4acf74f | 583 | ### Delete `.dvi' files here if they are not part of the distribution. |
05ed817f | 584 | clean: FRC |
0e265b72 BF |
585 | (cd src; $(MAKE) $(MFLAGS) clean) |
586 | (cd oldXMenu; $(MAKE) $(MFLAGS) clean) | |
98dfba1b | 587 | (cd lwlib; $(MAKE) $(MFLAGS) clean) |
0e265b72 | 588 | (cd lib-src; $(MAKE) $(MFLAGS) clean) |
e6124e9d | 589 | -(cd man && $(MAKE) $(MFLAGS) clean) |
45726797 | 590 | -(cd lispref && $(MAKE) $(MFLAGS) clean) |
3430f697 | 591 | -(cd lispintro && $(MAKE) $(MFLAGS) clean) |
fa2ea19a | 592 | (cd leim; $(MAKE) $(MFLAGS) clean) |
46947372 | 593 | |
78008d14 | 594 | ### `distclean' |
d4acf74f JB |
595 | ### Delete all files from the current directory that are created by |
596 | ### configuring or building the program. If you have unpacked the | |
597 | ### source and built the program without creating any other files, | |
598 | ### `make distclean' should leave only the files that were in the | |
599 | ### distribution. | |
600 | top_distclean=\ | |
dffd6dac | 601 | rm -f config.status config.cache config.log ; \ |
d4acf74f | 602 | rm -f Makefile ${SUBDIR_MAKEFILES} ; \ |
80e79e3e | 603 | if [ -d lock ] ; then (cd lock && (rm -f * || true)); else true; fi |
05ed817f | 604 | distclean: FRC |
0e265b72 BF |
605 | (cd src; $(MAKE) $(MFLAGS) distclean) |
606 | (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) | |
98dfba1b | 607 | (cd lwlib; $(MAKE) $(MFLAGS) distclean) |
0e265b72 | 608 | (cd lib-src; $(MAKE) $(MFLAGS) distclean) |
e6124e9d | 609 | (cd man && $(MAKE) $(MFLAGS) distclean) |
45726797 | 610 | (cd lispref && $(MAKE) $(MFLAGS) distclean) |
3430f697 | 611 | (cd lispintro && $(MAKE) $(MFLAGS) distclean) |
fa2ea19a | 612 | (cd leim; $(MAKE) $(MFLAGS) distclean) |
8c47a252 | 613 | (cd lisp; $(MAKE) $(MFLAGS) distclean) |
d4acf74f | 614 | ${top_distclean} |
46947372 | 615 | |
26873b72 | 616 | ### `maintainer-clean' |
d4acf74f JB |
617 | ### Delete everything from the current directory that can be |
618 | ### reconstructed with this Makefile. This typically includes | |
619 | ### everything deleted by distclean, plus more: C source files | |
620 | ### produced by Bison, tags tables, info files, and so on. | |
177c0ea7 | 621 | ### |
26873b72 | 622 | ### One exception, however: `make maintainer-clean' should not delete |
d4acf74f | 623 | ### `configure' even if `configure' can be remade using a rule in the |
26873b72 | 624 | ### Makefile. More generally, `make maintainer-clean' should not delete |
d4acf74f JB |
625 | ### anything that needs to exist in order to run `configure' and then |
626 | ### begin to build the program. | |
26873b72 RS |
627 | maintainer-clean: FRC |
628 | (cd src; $(MAKE) $(MFLAGS) maintainer-clean) | |
629 | (cd oldXMenu; $(MAKE) $(MFLAGS) maintainer-clean) | |
630 | (cd lwlib; $(MAKE) $(MFLAGS) maintainer-clean) | |
631 | (cd lib-src; $(MAKE) $(MFLAGS) maintainer-clean) | |
632 | -(cd man && $(MAKE) $(MFLAGS) maintainer-clean) | |
45726797 | 633 | -(cd lispref && $(MAKE) $(MFLAGS) maintainer-clean) |
3430f697 | 634 | -(cd lispintro && $(MAKE) $(MFLAGS) maintainer-clean) |
fa2ea19a | 635 | (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) |
d4acf74f | 636 | ${top_distclean} |
46947372 | 637 | |
78008d14 JB |
638 | ### This doesn't actually appear in the coding standards, but Karl |
639 | ### says GCC supports it, and that's where the configuration part of | |
640 | ### the coding standards seem to come from. It's like distclean, but | |
641 | ### it deletes backup and autosave files too. | |
642 | extraclean: | |
4ce7f03e | 643 | for i in ${SUBDIR} leim; do (cd $$i; $(MAKE) $(MFLAGS) extraclean); done |
9e8886a8 | 644 | ${top_distclean} |
2f417e39 | 645 | -rm -f config-tmp-* |
78008d14 JB |
646 | -rm -f *~ \#* |
647 | ||
29c0047b ER |
648 | ### Unlocking and relocking. The idea of these productions is to reduce |
649 | ### hassles when installing an incremental tar of Emacs. Do `make unlock' | |
650 | ### before unlocking the file to take the write locks off all sources so | |
651 | ### that tar xvof will overwrite them without fuss. Then do `make relock' | |
652 | ### afterward so that VC mode will know which files should be checked in | |
653 | ### if you want to mung them. | |
654 | ### | |
655 | ### Note: it's no disaster if these productions miss a file or two; tar | |
656 | ### and VC will swiftly let you know if this happens, and it is easily | |
657 | ### corrected. | |
bf180a00 | 658 | SOURCES = ChangeLog FTP INSTALL Makefile.in \ |
24470d72 | 659 | README configure make-dist move-if-change |
29c0047b | 660 | |
98dfba1b RS |
661 | .PHONY: unlock relock |
662 | ||
29c0047b | 663 | unlock: |
0c19c8b3 | 664 | chmod u+w $(SOURCES) |
29c0047b | 665 | -(cd elisp; chmod u+w Makefile README *.texi) |
0e265b72 BF |
666 | (cd etc; $(MAKE) $(MFLAGS) unlock) |
667 | (cd lib-src; $(MAKE) $(MFLAGS) unlock) | |
668 | (cd lisp; $(MAKE) $(MFLAGS) unlock) | |
29c0047b ER |
669 | (cd lisp/term; chmod u+w README *.el) |
670 | (cd man; chmod u+w *texi* ChangeLog split-man) | |
45726797 | 671 | (cd lispref; chmod u+w *texi* ChangeLog) |
3430f697 | 672 | (cd lispintro; chmod u+w *texi* ChangeLog) |
29c0047b | 673 | (cd oldXMenu; chmod u+w *.[ch] Makefile README) |
98dfba1b | 674 | (cd lwlib; chmod u+w *.[ch] Makefile README) |
0e265b72 | 675 | (cd src; $(MAKE) $(MFLAGS) unlock) |
29c0047b ER |
676 | |
677 | relock: | |
0c19c8b3 | 678 | chmod u-w $(SOURCES) |
29c0047b | 679 | -(cd elisp; chmod u-w Makefile README *.texi) |
0e265b72 BF |
680 | (cd etc; $(MAKE) $(MFLAGS) relock) |
681 | (cd lib-src; $(MAKE) $(MFLAGS) relock) | |
682 | (cd lisp; $(MAKE) $(MFLAGS) relock) | |
29c0047b ER |
683 | (cd lisp/term; chmod u+w README *.el) |
684 | (cd man; chmod u+w *texi* ChangeLog split-man) | |
45726797 | 685 | (cd lispref; chmod u+w *texi* ChangeLog) |
3430f697 | 686 | (cd lispintro; chmod u+w *texi* ChangeLog) |
29c0047b | 687 | (cd oldXMenu; chmod u+w *.[ch] Makefile README) |
98dfba1b | 688 | (cd lwlib; chmod u+w *.[ch] Makefile README) |
0e265b72 | 689 | (cd src; $(MAKE) $(MFLAGS) relock) |
78008d14 | 690 | |
5c62b2e9 DL |
691 | # The src subdir knows how to do the right thing |
692 | # even when the build directory and source dir are different. | |
8e60a253 | 693 | TAGS tags: lib-src src |
a383fece | 694 | cd src; $(MAKE) tags |
46947372 JB |
695 | |
696 | check: | |
697 | @echo "We don't have any tests for GNU Emacs yet." | |
4746118a JB |
698 | |
699 | dist: | |
c6035ee6 | 700 | cd ${srcdir}; ./make-dist |
d4acf74f | 701 | |
b992884d | 702 | .PHONY: info dvi dist check html |
653ddcc3 | 703 | force-info: |
5c62b2e9 DL |
704 | # Note that man/Makefile knows how to |
705 | # put the info files in $(srcdir), | |
706 | # so we can do ok running make in the build dir. | |
653ddcc3 | 707 | info: force-info |
5c5f75f1 | 708 | (cd man; $(MAKE) $(MFLAGS) info) |
45726797 | 709 | (cd lispref; $(MAKE) $(MFLAGS) info) |
3430f697 | 710 | (cd lispintro; $(MAKE) $(MFLAGS) info) |
d4acf74f | 711 | dvi: |
6784fb67 | 712 | (cd man; $(MAKE) $(MFLAGS) dvi) |
45726797 | 713 | (cd lispref; $(MAKE) $(MFLAGS) elisp.dvi) |
3430f697 | 714 | (cd lispintro; $(MAKE) $(MFLAGS) emacs-lisp-intro.dvi) |
3b691429 GM |
715 | |
716 | #### Bootstrapping. | |
717 | ||
718 | ### This is meant for Emacs maintainers only. It first cleans the | |
719 | ### lisp subdirectory, removing all compiled Lisp files. Then a | |
720 | ### special emacs executable is built from Lisp sources, which is then | |
721 | ### used to compile Lisp files. The last step is a "normal" make. | |
722 | ||
ffb0b9d7 | 723 | .PHONY: bootstrap |
5a2e524f GM |
724 | .PHONY: maybe_bootstrap |
725 | ||
726 | maybe_bootstrap: | |
ab4f69f2 | 727 | @bar="`echo $(srcdir)/lisp/*.elc`"; \ |
686eb0dd | 728 | if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$$bar" = '' \) ]; then \ |
ef7fb3bb RS |
729 | echo "Your tree does not include the compiled Lisp files."; \ |
730 | echo "You need to do \`make bootstrap' to build Emacs."; \ | |
731 | echo "Emacs now requires Texinfo version 4.2."; \ | |
0635d9fa | 732 | exit 1;\ |
5a2e524f | 733 | fi |
6e6f3adb | 734 | |
ffb0b9d7 | 735 | bootstrap: bootstrap-clean-before info FRC |
3b691429 | 736 | (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) |
3aca9e8c | 737 | (cd src; $(MAKE) $(MFLAGS) bootstrap) |
c60ee5e7 | 738 | (cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs@EXEEXT@) |
ffb0b9d7 SM |
739 | (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
740 | $(MAKE) $(MFLAGS) all | |
831d5671 | 741 | (cd lisp; $(MAKE) $(MFLAGS) bootstrap-after) |
6e6f3adb | 742 | |
623c2030 RS |
743 | ### Used for `bootstrap' to avoid deleting existing dumped Emacs executables. |
744 | bootstrap-clean-before: FRC | |
745 | (cd src; $(MAKE) $(MFLAGS) mostlyclean) | |
746 | (cd oldXMenu; $(MAKE) $(MFLAGS) clean) | |
747 | (cd lwlib; $(MAKE) $(MFLAGS) clean) | |
748 | (cd lib-src; $(MAKE) $(MFLAGS) clean) | |
749 | -(cd man && $(MAKE) $(MFLAGS) clean) | |
750 | -(cd lispref && $(MAKE) $(MFLAGS) clean) | |
751 | -(cd lispintro && $(MAKE) $(MFLAGS) clean) | |
752 | (cd leim; $(MAKE) $(MFLAGS) clean) | |
753 |