* configure.in: When looking for source in the same directory as
[bpt/emacs.git] / Makefile.in
CommitLineData
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
46947372
JB
5# make all to compile and build Emacs.
6# make install to install it.
78008d14 7# make TAGS to update tags tables.
86a5659e 8#
78008d14
JB
9# make clean or make mostlyclean
10# Delete all files from the current directory that are normally
868e080d 11# created by building the program. Don't delete the files that
78008d14
JB
12# record the configuration. Also preserve files that could be made
13# by building, but normally aren't because the distribution comes
14# with them.
15#
16# Delete `.dvi' files here if they are not part of the distribution.
17#
18# make distclean
19# Delete all files from the current directory that are created by
20# configuring or building the program. If you have unpacked the
21# source and built the program without creating any other files,
22# `make distclean' should leave only the files that were in the
23# distribution.
24#
25# make realclean
26# Delete everything from the current directory that can be
27# reconstructed with this Makefile. This typically includes
28# everything deleted by distclean, plus more: C source files
29# produced by Bison, tags tables, info files, and so on.
30#
31# make extraclean
32# Still more severe - delete backup and autosave files, too.
86a5659e
JB
33
34SHELL = /bin/sh
08edea3c 35MAKE = make # BSD doesn't have it as a default.
86a5659e 36
78008d14 37# ==================== Things `configure' Might Edit ====================
86a5659e 38
c75ff9db 39CC=@CC@
c75ff9db 40C_SWITCH_SYSTEM=@c_switch_system@
d3245f70 41ALLOCA=@ALLOCA@
b6472fc1
JB
42LN_S=@LN_S@
43CFLAGS=@CFLAGS@
46af2ed8 44C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
78008d14
JB
45
46### These help us choose version- and architecture-specific directories
47### to install files in.
48
49### This should be the number of the Emacs version we're building,
50### like `18.59' or `19.0'.
c75ff9db 51version=@version@
78008d14
JB
52
53### This should be the name of the configuration we're building Emacs
54### for, like `mips-dec-ultrix' or `sparc-sun-sunos'.
c75ff9db
JB
55configuration=@configuration@
56
57### Libraries which should be edited into lib-src/Makefile.
58libsrc_libs=@libsrc_libs@
0c22fbca 59
78008d14
JB
60# ==================== Where To Install Things ====================
61
46947372 62# The default location for installation. Everything is placed in
78008d14
JB
63# subdirectories of this directory. The default values for many of
64# the variables below are expressed in terms of this one, so you may
8d467c70
JB
65# not need to change them. This defaults to /usr/local.
66prefix=@prefix@
86a5659e 67
78008d14 68# Like `prefix', but used for architecture-specific files.
86ddcc58 69exec_prefix=@exec_prefix@
78008d14 70
46947372
JB
71# Where to install Emacs and other binaries that people will want to
72# run directly (like etags).
78008d14 73bindir=${exec_prefix}/bin
86a5659e 74
868e080d 75# Where to install architecture-independent data files. ${lispdir}
78008d14
JB
76# and ${etcdir} are subdirectories of this.
77datadir=${prefix}/lib
0c22fbca
JB
78
79# Where to install and expect the files that Emacs modifies as it
868e080d 80# runs. These files are all architecture-independent. Right now, the
78008d14
JB
81# only such data is the locking directory; ${lockdir} is a
82# subdirectory of this.
83statedir=${prefix}/lib
0c22fbca
JB
84
85# Where to install and expect executable files to be run by Emacs
86# rather than directly by users, and other architecture-dependent
868e080d 87# data. ${archlibdir} is a subdirectory of this.
78008d14 88libdir=${exec_prefix}/lib
0c22fbca
JB
89
90# Where to install Emacs's man pages, and what extension they should have.
78008d14 91mandir=${prefix}/man/man1
0c22fbca
JB
92manext=.1
93
94# Where to install and expect the info files describing Emacs. In the
95# past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but
96# since there are now many packages documented with the texinfo
97# system, it is inappropriate to imply that it is part of Emacs.
98infodir=${prefix}/info
86a5659e 99
78008d14
JB
100# Where to find the source code - setting this to anything but
101# . doesn't work yet. The source code for Emacs's C kernel is
102# expected to be in ${srcdir}/src, and the source code for Emacs's
103# utility programs is expected to be in ${srcdir}/lib-src. This is
104# set by the configure script's `--srcdir' option.
d3245f70 105srcdir=@srcdir@
86a5659e 106
0c22fbca
JB
107# ==================== Emacs-specific directories ====================
108
78008d14
JB
109# These variables hold the values Emacs will actually use. They are
110# based on the values of the standard Make variables above.
111
d3245f70
JB
112@inst_paths@# Where to install the lisp files distributed with
113@inst_paths@# Emacs. This includes the Emacs version, so that the
114@inst_paths@# lisp files for different versions of Emacs will install
115@inst_paths@# themselves in separate directories.
116@inst_paths@lispdir=${datadir}/emacs/${version}/lisp
117
118@inst_paths@# Where to install the lisp files which are distributed
119@inst_paths@# with Emacs but not maintained by the FSF. This
120@inst_paths@# includes the Emacs version, so that the lisp files for
121@inst_paths@# different versions of Emacs will install themselves in
122@inst_paths@# separate directories.
123@inst_paths@externallispdir=${datadir}/emacs/${version}/external-lisp
124
125@inst_paths@# Directories Emacs should search for lisp files specific
126@inst_paths@# to this site (i.e. customizations), before consulting
127@inst_paths@# ${lispdir}. This should be a colon-separated list of
128@inst_paths@# directories.
129@inst_paths@locallisppath=${datadir}/emacs/site-lisp
130
131# Where Emacs will search to find its lisp files. Before
132# changing this, check to see if your purpose wouldn't
133# better be served by changing locallisppath. This
46947372 134# should be a colon-separated list of directories.
ab8478d1 135lisppath=${locallisppath}:${lispdir}
86a5659e 136
d3245f70
JB
137# Where Emacs will search for its lisp files while
138# building. This is only used during the process of
139# compiling Emacs, to help Emacs find its lisp files
140# before they've been installed in their final location.
141# It's usually identical to lisppath, except that the
142# entry for the directory containing the installed lisp
143# files has been replaced with ../lisp. This should be a
144# colon-separated list of directories.
3dbc7e32 145buildlisppath=${srcdir}/lisp
86a5659e 146
d3245f70
JB
147@inst_paths@# Where to install the other architecture-independent
148@inst_paths@# data files distributed with Emacs (like the tutorial,
149@inst_paths@# the cookie recipes and the Zippy database). This path
150@inst_paths@# usually contains the Emacs version number, so the data
151@inst_paths@# files for multiple versions of Emacs may be installed
152@inst_paths@# at once.
153@inst_paths@etcdir=${datadir}/emacs/${version}/etc
154
155@inst_paths@# Where to create and expect the locking directory, where
156@inst_paths@# the Emacs locking code keeps track of which files are
157@inst_paths@# currently being edited.
158@inst_paths@lockdir=${statedir}/emacs/lock
159
160@inst_paths@# Where to put executables to be run by Emacs rather than
161@inst_paths@# the user. This path usually includes the Emacs version
162@inst_paths@# and configuration name, so that multiple configurations
163@inst_paths@# for multiple versions of Emacs may be installed at
164@inst_paths@# once.
165@inst_paths@archlibdir=${libdir}/emacs/${version}/${configuration}
46947372 166
a34902ab
ER
167# ====================== Developer's configuration =======================
168
169# The following assignments make sense if you're running Emacs on a single
170# machine, one version at a time, and you want changes to the lisp and etc
171# directories in the source tree to show up immediately in your working
172# environment. It saves a great deal of disk space by not duplicating the
173# lisp and etc directories.
d3245f70
JB
174
175@rip_paths@lispdir=${srcdir}/lisp
176@rip_paths@externallispdir=${srcdir}/externallisp
177@rip_paths@locallisppath=${datadir}/emacs/site-lisp
178@rip_paths@etcdir=${srcdir}/etc
179@rip_paths@lockdir=${srcdir}/lock
180@rip_paths@archlibdir=${srcdir}/lib-src
181@rip_paths@infodir=${srcdir}/info
a34902ab 182
46947372
JB
183# ==================== Utility Programs for the Build ====================
184
185# Allow the user to specify the install program.
86ddcc58
JB
186INSTALL_PROGRAM = @INSTALL_PROGRAM@
187INSTALL_DATA = @INSTALL_DATA@
46947372 188
46947372 189# ============================= Targets ==============================
86a5659e
JB
190
191# Flags passed down to subdirectory makefiles.
78008d14
JB
192MFLAGS =
193
86a5659e
JB
194# Subdirectories to make recursively. `lisp' is not included
195# because the compiled lisp files are part of the distribution
196# and you cannot remake them without installing Emacs first.
46947372 197SUBDIR = lib-src src
86a5659e 198
78008d14 199# The makefiles of the directories in $SUBDIR.
ddb73021 200SUBDIR_MAKEFILES = lib-src/Makefile src/Makefile oldXMenu/Makefile
78008d14 201
83f6a565
JB
202# Subdirectories to install, and where they'll go.
203# lib-src's makefile knows how to install it, so we don't do that here.
204# When installing the info files, we need to do special things to
205# avoid nuking an existing dir file, so we don't do that here;
206# instead, we have written out explicit code in the `install' targets.
ddb73021
JB
207COPYDIR = etc ${srcdir}/etc ${srcdir}/lisp ${srcdir}/external-lisp
208COPYDESTS = ${etcdir} ${etcdir} ${lispdir} ${externallispdir}
86a5659e
JB
209
210all: src/paths.h ${SUBDIR}
211
46947372
JB
212removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/'
213
78008d14
JB
214# We force the rebuilding of src/paths.h because the user might give
215# make different values for the various directories. Since we use
216# move-if-change, src/paths.h only actually changes if the user did
217# something notable, so the only unnecessary work we do is in building
218# src/paths.h.tmp, which isn't much.
692f9ac6 219# Note that sed is not in /bin on 386bsd.
78008d14 220src/paths.h: Makefile ${srcdir}/src/paths.h.in FRC
7987a169
JB
221 @echo "Producing \`src/paths.h' from \`src/paths.h.in'."
222 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
223 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
224 sed < ${srcdir}/src/paths.h.in > src/paths.h.tmp \
225 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
226 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
227 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
8b14d296 228 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
7987a169
JB
229 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
230 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";')
c75ff9db 231 @${srcdir}/move-if-change src/paths.h.tmp src/paths.h
86a5659e
JB
232
233src: lib-src
234
235.RECURSIVE: ${SUBDIR}
236
78008d14 237${SUBDIR}: ${SUBDIR_MAKEFILES} FRC
08edea3c 238 cd $@; $(MAKE) all ${MFLAGS} \
ddb73021 239 CC='${CC}' CFLAGS='${CFLAGS}' prefix='${prefix}' \
78008d14
JB
240 srcdir='${srcdir}/$@' libdir='${libdir}'
241
242## We build the makefiles for the subdirectories here so that we can
243## edit the values for the path variables into them. This means that
244## when the user has built them from this makefile once, they will use
245## the right default values for the path variables.
246lib-src/Makefile: ${srcdir}/lib-src/Makefile.in Makefile
78008d14 247 rm -f lib-src/Makefile.tmp
7987a169
JB
248 @echo "Producing \`lib-src/Makefile' from \`${srcdir}/lib-src/Makefile.in'."
249 @(echo "# This file is generated from \`${srcdir}/lib-src/Makefile.in'." ; \
250 echo "# If you are thinking about editing it, you should seriously consider" ; \
251 echo "# running \`make lib-src/Makefile' at the top of the" ; \
252 echo "# Emacs build tree instead, or editing" ; \
253 echo "# \`${srcdir}/lib-src/Makefile.in' itself." ; \
ddb73021 254 sed < ${srcdir}/lib-src/Makefile.in \
7987a169 255 -e 's|^\(version *=\).*$$|\1'"${version}"'|' \
c75ff9db 256 -e 's|^\(configname *=\).*$$|\1'"${configuration}"'|' \
7987a169
JB
257 -e 's|^\(prefix *=\).*$$|\1'"${prefix}"'|' \
258 -e 's|^\(exec_prefix *=\).*$$|\1'"${exec_prefix}"'|' \
259 -e 's|^\(libdir *=\).*$$|\1'"${libdir}"'|' \
ddb73021
JB
260 -e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'/lib-src|' \
261 -e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'/lib-src|' \
7987a169 262 -e 's|^\(archlibdir *=\).*$$|\1'"${archlibdir}"'|' \
d3245f70 263 -e 's|^\(ALLOCA *=\).*$$|\1'"${ALLOCA}"'|' \
7987a169 264 -e 's|^CC *=.*$$|CC='"${CC}"'|' \
b6472fc1 265 -e 's|^CFLAGS *=.*$$|CFLAGS='"${CFLAGS}"'|' \
7987a169
JB
266 -e 's|^C_SWITCH_SYSTEM *=.*$$|C_SWITCH_SYSTEM='"${C_SWITCH_SYSTEM}"'|' \
267 -e 's|^LOADLIBES *=.*$$|LOADLIBES='"${libsrc_libs}"'|' \
268 -e '/^# DIST: /d') > lib-src/Makefile.tmp
c75ff9db 269 @${srcdir}/move-if-change lib-src/Makefile.tmp lib-src/Makefile
78008d14
JB
270 chmod -w lib-src/Makefile
271
272src/Makefile: ${srcdir}/src/Makefile.in Makefile
78008d14 273 rm -f src/Makefile.tmp
7987a169
JB
274 @echo "Producing \`src/Makefile' from \`${srcdir}/src/Makefile.in'."
275 @(echo "# This file is generated from \`${srcdir}/src/Makefile.in'." ; \
276 echo "# If you are thinking about editing it, you should seriously consider" ; \
277 echo "# running \`make src/Makefile' at the top of the" ; \
278 echo "# Emacs build tree instead, or editing" ; \
279 echo "# \`${srcdir}/src/Makefile.in' itself." ; \
ddb73021
JB
280 sed < ${srcdir}/src/Makefile.in \
281 -e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'/src|' \
282 -e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'/src|' \
7987a169 283 -e 's|^CC *=.*$$|CC='"${CC}"'|' \
b6472fc1
JB
284 -e 's|^LN_S *=.*$$|LN_S='"${LN_S}"'|' \
285 -e 's|^CFLAGS *=.*$$|CFLAGS='"${CFLAGS}"'|' \
7987a169 286 -e '/^# DIST: /d') > src/Makefile.tmp
c75ff9db 287 @${srcdir}/move-if-change src/Makefile.tmp src/Makefile
78008d14
JB
288 chmod -w src/Makefile
289
f241976e 290oldXMenu/Makefile: ${srcdir}/oldXMenu/Makefile.in Makefile
6d8856bd 291 rm -f oldXMenu/Makefile.tmp
fe7cd06e
JB
292 @echo "Producing \`oldXMenu/Makefile' from \`${srcdir}/oldXMenu/Makefile.in'."
293 @(echo "# This file is generated from \`${srcdir}/oldXMenu/Makefile.in'." ; \
ddb73021
JB
294 echo "# If you are thinking about editing it, you should seriously consider" ; \
295 echo "# running \`make oldXMenu/Makefile' at the top of the" ; \
296 echo "# Emacs build tree instead, or editing" ; \
297 echo "# \`${srcdir}/oldXMenu/Makefile.in' itself." ; \
8b8d8332 298 sed < ${srcdir}/oldXMenu/Makefile.in \
ddb73021
JB
299 -e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'/oldXMenu|' \
300 -e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'/oldXMenu|' \
46af2ed8 301 -e 's|^\(C_SWITCH_X_SITE *=\).*$$|\1'"${C_SWITCH_X_SITE}"'|' \
ddb73021
JB
302 -e 's|^CC *=.*$$|CC='"${CC}"'|' \
303 -e 's|^DEFS *=.*$$|DEFS='"${DEFS}"'|' \
304 -e '/^# DIST: /d') > oldXMenu/Makefile.tmp
305 @${srcdir}/move-if-change oldXMenu/Makefile.tmp oldXMenu/Makefile
306 chmod -w oldXMenu/Makefile
78008d14
JB
307
308Makefile:
309 ./config.status
310
311# ==================== Installation ====================
312
dbc4e1c1
JB
313## If we let lib-src do its own installation, that means we
314## don't have to duplicate the list of utilities to install in
315## this Makefile as well.
d3245f70 316
3dbc7e32
JB
317## On AIX, use tar xBf.
318## On Xenix, use tar xpf.
319
d3245f70
JB
320## We delete each directory in ${COPYDESTS} before we copy into it;
321## that way, we can reinstall over directories that have been put in
322## place with their files read-only (perhaps because they are checked
323## into RCS). In order to make this safe, we make sure that the
324## source exists and is distinct from the destination.
8b14d296
JB
325install: all do-install
326
327do-install: mkdir
328 (cd lib-src; \
329 $(MAKE) install ${MFLAGS} prefix=${prefix} \
330 exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \
331 archlibdir=${archlibdir})
46947372 332 -set ${COPYDESTS} ; \
8b14d296
JB
333 rm -rf ${COPYDESTS} ; \
334 mkdir ${COPYDESTS} ; \
46947372
JB
335 for dir in ${COPYDIR} ; do \
336 dest=$$1 ; shift ; \
d3245f70 337 [ -d $${dir} ] \
3dbc7e32
JB
338 && [ `(cd $${dir}; /bin/pwd)` != `(cd $${dest}; /bin/pwd)` ] \
339 && (echo "Copying $${dir}..." ; \
ddb73021 340 (cd $${dir}; tar cf - . )|(cd $${dest}; umask 0; tar xvf - ); \
d3245f70
JB
341 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
342 rm -rf $${subdir}/RCS ; \
343 rm -rf $${subdir}/CVS ; \
344 rm -f $${subdir}/\#* ; \
345 rm -f $${subdir}/*~ ; \
346 done) ; \
46947372 347 done
ddb73021
JB
348 -(cd ${srcdir}/info ; \
349 if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \
3dbc7e32 350 ${INSTALL_DATA} dir ${infodir}/dir ; \
868e080d 351 fi ; \
8d467c70
JB
352 for f in cl* emacs* forms* info* vip* ; do \
353 ${INSTALL_DATA} $$f ${infodir}/$$f ; \
354 done)
ddb73021 355 cd ${srcdir}/etc; for page in emacs etags ctags ; do \
3dbc7e32 356 ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \
868e080d 357 done
3dbc7e32
JB
358 ${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version}
359 chmod 1755 ${bindir}/emacs-${version}
360 rm -f ${bindir}/emacs
78008d14 361 ln ${bindir}/emacs-${version} ${bindir}/emacs
badb0a97 362
868e080d 363### Build all the directories we're going to install Emacs in. Since
78008d14
JB
364### we may be creating several layers of directories (for example,
365### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use make-path
366### instead of mkdir. Not all systems' mkdirs have the `-p' flag.
86a5659e 367mkdir: FRC
8b14d296
JB
368 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \
369 ${bindir} ${datadir} ${libdir} ${sitelisp}
78008d14 370 chmod 777 ${COPYDESTS} ${lockdir}
86a5659e
JB
371
372FRC:
373
78008d14
JB
374
375# ==================== Cleaning up and miscellanea ====================
376
377### `clean'
868e080d
JB
378### Delete all files from the current directory that are normally
379### created by building the program. Don't delete the files that
380### record the configuration. Also preserve files that could be made
381### by building, but normally aren't because the distribution comes
382### with them.
78008d14 383### `mostlyclean'
868e080d
JB
384### Like `clean', but may refrain from deleting a few files that
385### people normally don't want to recompile. For example, the
386### `mostlyclean' target for GCC does not delete `libgcc.a', because
387### recompiling it is rarely necessary and takes a lot of time.
78008d14 388###
46947372 389clean mostlyclean:
08edea3c
RS
390 cd src; $(MAKE) clean
391 cd lib-src; $(MAKE) clean
392 cd oldXMenu; $(MAKE) clean
c75ff9db 393 if [ `(cd ${etcdir} ; /bin/pwd)` != `(cd etc; /bin/pwd)` ] ; then \
08edea3c 394 cd etc; $(MAKE) clean; \
46947372
JB
395 else true; \
396 fi
46947372 397
78008d14 398### `distclean'
868e080d
JB
399### Delete all files from the current directory that are created by
400### configuring or building the program. This should leave only the
401### files that would be in the distribution.
46947372 402distclean:
08edea3c 403 for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} distclean); done
46947372
JB
404 -(cd lock; rm *)
405 -rm config.status config-tmp-*
46947372 406
78008d14 407### `realclean'
868e080d
JB
408### Delete everything from the current directory that can be
409### reconstructed with this makefile. This typically includes
410### everything deleted by distclean, plus more: C source files
411### produced by Bison, tags tables, info files, and so on.
46947372 412realclean:
08edea3c 413 for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} realclean); done
46947372
JB
414 (cd lock; rm *)
415 rm config.status
416
78008d14
JB
417### This doesn't actually appear in the coding standards, but Karl
418### says GCC supports it, and that's where the configuration part of
419### the coding standards seem to come from. It's like distclean, but
420### it deletes backup and autosave files too.
421extraclean:
08edea3c 422 for i in ${SUBDIR}; do (cd $$i; $(MAKE) ${MFLAGS} extraclean); done
78008d14
JB
423 -(cd lock; rm *)
424 -rm config.status config-tmp-*
425 -rm -f *~ \#*
426
29c0047b
ER
427### Unlocking and relocking. The idea of these productions is to reduce
428### hassles when installing an incremental tar of Emacs. Do `make unlock'
429### before unlocking the file to take the write locks off all sources so
430### that tar xvof will overwrite them without fuss. Then do `make relock'
431### afterward so that VC mode will know which files should be checked in
432### if you want to mung them.
433###
434### Note: it's no disaster if these productions miss a file or two; tar
435### and VC will swiftly let you know if this happens, and it is easily
436### corrected.
437SOURCES = ChangeLog GETTING.GNU.SOFTWARE INSTALL Makefile.in PROBLEMS \
438 README build-install.in configure make-dist move-if-change
439
440unlock:
441 chmod u+w $(SOURCES) cpp/*
442 -(cd elisp; chmod u+w Makefile README *.texi)
443 (cd etc; make unlock)
444 (cd lib-src; make unlock)
445 (cd lisp; make unlock)
446 (cd lisp/term; chmod u+w README *.el)
447 (cd man; chmod u+w *texi* ChangeLog split-man)
448 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
449 (cd src; make unlock)
450
451relock:
452 chmod u-w $(SOURCES) cpp/*
453 -(cd elisp; chmod u-w Makefile README *.texi)
454 (cd etc; make relock)
455 (cd lib-src; make relock)
456 (cd lisp; make relock)
457 (cd lisp/term; chmod u+w README *.el)
458 (cd man; chmod u+w *texi* ChangeLog split-man)
459 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
460 (cd src; make relock)
78008d14 461
46947372 462TAGS tags: lib-src
78008d14
JB
463 (cd ${srcdir} ; lib-src/etags --output=./src/TAGS \
464 src/*.[ch] lisp/*.el lisp/term/*.el)
46947372
JB
465
466check:
467 @echo "We don't have any tests for GNU Emacs yet."
4746118a
JB
468
469dist:
78008d14 470 cd ${srcdir}; make-dist