(HAVE_XRMSETDATABASE): Define if not defined.
[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
2dc44cb5
RS
35
36# If Make doesn't predefine MAKE, set it here.
37@SET_MAKE@
86a5659e 38
78008d14 39# ==================== Things `configure' Might Edit ====================
86a5659e 40
c75ff9db 41CC=@CC@
d4acf74f 42CPP=@CPP@
c75ff9db 43C_SWITCH_SYSTEM=@c_switch_system@
d3245f70 44ALLOCA=@ALLOCA@
b6472fc1
JB
45LN_S=@LN_S@
46CFLAGS=@CFLAGS@
46af2ed8 47C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
09b89128 48LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@
4b5a51c1 49YACC=@YACC@
78008d14
JB
50
51### These help us choose version- and architecture-specific directories
52### to install files in.
53
54### This should be the number of the Emacs version we're building,
55### like `18.59' or `19.0'.
c75ff9db 56version=@version@
78008d14
JB
57
58### This should be the name of the configuration we're building Emacs
59### for, like `mips-dec-ultrix' or `sparc-sun-sunos'.
c75ff9db
JB
60configuration=@configuration@
61
62### Libraries which should be edited into lib-src/Makefile.
63libsrc_libs=@libsrc_libs@
0c22fbca 64
78008d14
JB
65# ==================== Where To Install Things ====================
66
46947372 67# The default location for installation. Everything is placed in
78008d14
JB
68# subdirectories of this directory. The default values for many of
69# the variables below are expressed in terms of this one, so you may
8d467c70
JB
70# not need to change them. This defaults to /usr/local.
71prefix=@prefix@
86a5659e 72
78008d14 73# Like `prefix', but used for architecture-specific files.
86ddcc58 74exec_prefix=@exec_prefix@
78008d14 75
46947372
JB
76# Where to install Emacs and other binaries that people will want to
77# run directly (like etags).
0e265b72 78bindir=@bindir@
86a5659e 79
868e080d 80# Where to install architecture-independent data files. ${lispdir}
78008d14 81# and ${etcdir} are subdirectories of this.
0e265b72 82datadir=@datadir@
0c22fbca
JB
83
84# Where to install and expect the files that Emacs modifies as it
868e080d 85# runs. These files are all architecture-independent. Right now, the
78008d14
JB
86# only such data is the locking directory; ${lockdir} is a
87# subdirectory of this.
0e265b72 88statedir=@statedir@
0c22fbca
JB
89
90# Where to install and expect executable files to be run by Emacs
91# rather than directly by users, and other architecture-dependent
868e080d 92# data. ${archlibdir} is a subdirectory of this.
653ddcc3 93libdir=@libdir@
0c22fbca
JB
94
95# Where to install Emacs's man pages, and what extension they should have.
0e265b72 96mandir=@mandir@
0c22fbca
JB
97manext=.1
98
99# Where to install and expect the info files describing Emacs. In the
100# past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but
101# since there are now many packages documented with the texinfo
102# system, it is inappropriate to imply that it is part of Emacs.
0e265b72 103infodir=@infodir@
86a5659e 104
00c29909 105# Where to find the source code. The source code for Emacs's C kernel is
78008d14
JB
106# expected to be in ${srcdir}/src, and the source code for Emacs's
107# utility programs is expected to be in ${srcdir}/lib-src. This is
108# set by the configure script's `--srcdir' option.
d3245f70 109srcdir=@srcdir@
86a5659e 110
f854bb66
RM
111# Tell make where to find source files; this is needed for the makefiles.
112VPATH=@srcdir@
113
0c22fbca
JB
114# ==================== Emacs-specific directories ====================
115
78008d14
JB
116# These variables hold the values Emacs will actually use. They are
117# based on the values of the standard Make variables above.
118
0e265b72
BF
119# Where to install the lisp files distributed with
120# Emacs. This includes the Emacs version, so that the
121# lisp files for different versions of Emacs will install
122# themselves in separate directories.
123lispdir=@lispdir@
d3245f70 124
0e265b72
BF
125# Directories Emacs should search for lisp files specific
126# to this site (i.e. customizations), before consulting
127# ${lispdir}. This should be a colon-separated list of
128# directories.
129locallisppath=@locallisppath@
d3245f70
JB
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.
0e265b72 135lisppath=@lisppath@
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
0e265b72
BF
147# Where to install the other architecture-independent
148# data files distributed with Emacs (like the tutorial,
149# the cookie recipes and the Zippy database). This path
150# usually contains the Emacs version number, so the data
151# files for multiple versions of Emacs may be installed
152# at once.
153etcdir=@etcdir@
154
155# Where to create and expect the locking directory, where
156# the Emacs locking code keeps track of which files are
157# currently being edited.
158lockdir=@lockdir@
159
160# Where to put executables to be run by Emacs rather than
161# the user. This path usually includes the Emacs version
162# and configuration name, so that multiple configurations
163# for multiple versions of Emacs may be installed at
164# once.
165archlibdir=@archlibdir@
a34902ab 166
e408046f
KH
167# Where to put the docstring file.
168docdir=@docdir@
169
46947372
JB
170# ==================== Utility Programs for the Build ====================
171
172# Allow the user to specify the install program.
19697295 173INSTALL = @INSTALL@
86ddcc58
JB
174INSTALL_PROGRAM = @INSTALL_PROGRAM@
175INSTALL_DATA = @INSTALL_DATA@
46947372 176
46947372 177# ============================= Targets ==============================
86a5659e 178
9ef7f9f0
KH
179# What emacs should be called when installed.
180EMACS = emacs
181
86a5659e
JB
182# Subdirectories to make recursively. `lisp' is not included
183# because the compiled lisp files are part of the distribution
184# and you cannot remake them without installing Emacs first.
46947372 185SUBDIR = lib-src src
86a5659e 186
78008d14 187# The makefiles of the directories in $SUBDIR.
98dfba1b 188SUBDIR_MAKEFILES = lib-src/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile
78008d14 189
83f6a565
JB
190# Subdirectories to install, and where they'll go.
191# lib-src's makefile knows how to install it, so we don't do that here.
192# When installing the info files, we need to do special things to
193# avoid nuking an existing dir file, so we don't do that here;
194# instead, we have written out explicit code in the `install' targets.
78c7997f
RS
195COPYDIR = ${srcdir}/etc ${srcdir}/lisp
196COPYDESTS = ${etcdir} ${lispdir}
86a5659e 197
d541babe 198all: src/paths.h ${SUBDIR} blessmail
86a5659e 199
46947372
JB
200removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/'
201
78008d14
JB
202# We force the rebuilding of src/paths.h because the user might give
203# make different values for the various directories. Since we use
204# move-if-change, src/paths.h only actually changes if the user did
205# something notable, so the only unnecessary work we do is in building
206# src/paths.h.tmp, which isn't much.
692f9ac6 207# Note that sed is not in /bin on 386bsd.
b305e8e5 208src/paths.h: Makefile ${srcdir}/src/paths.h.in FRC.src.paths.h
7987a169
JB
209 @echo "Producing \`src/paths.h' from \`src/paths.h.in'."
210 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
211 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
212 sed < ${srcdir}/src/paths.h.in > src/paths.h.tmp \
213 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
214 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
215 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
8b14d296 216 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
7987a169 217 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
e408046f 218 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
7987a169 219 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";')
c75ff9db 220 @${srcdir}/move-if-change src/paths.h.tmp src/paths.h
86a5659e 221
b305e8e5 222src: lib-src FRC.src
a874c104 223
485c9046
RS
224# This ought to depend on src/paths.h, so that in parallel make
225# src/paths.h will be available for the compilations in lib-src.
226# But that causes trouble in `make install' if a different prefix
227# is specified at that time.
228lib-src: FRC.lib-src
86a5659e
JB
229
230.RECURSIVE: ${SUBDIR}
231
78008d14 232${SUBDIR}: ${SUBDIR_MAKEFILES} FRC
0e265b72 233 cd $@; $(MAKE) all $(MFLAGS) \
7c811eec
RS
234 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
235 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}'
0e265b72 236
d541babe
RS
237blessmail: ${SUBDIR_MAKEFILES} FRC
238 cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) MAKE='${MAKE}'
239
0e265b72
BF
240Makefile: Makefile.in config.status
241 ./config.status
242
243src/Makefile: src/Makefile.in.in config.status
244 ./config.status
245
246lib-src/Makefile: lib-src/Makefile.in config.status
247 ./config.status
248
249oldXMenu/Makefile: oldXMenu/Makefile.in config.status
78008d14
JB
250 ./config.status
251
98dfba1b
RS
252lwlib/Makefile: lwlib/Makefile.in config.status
253 ./config.status
254
78008d14
JB
255# ==================== Installation ====================
256
dbc4e1c1
JB
257## If we let lib-src do its own installation, that means we
258## don't have to duplicate the list of utilities to install in
259## this Makefile as well.
d3245f70 260
3dbc7e32
JB
261## On AIX, use tar xBf.
262## On Xenix, use tar xpf.
263
9ef7f9f0 264.PHONY: install mkdir
98dfba1b 265
d3245f70
JB
266## We delete each directory in ${COPYDESTS} before we copy into it;
267## that way, we can reinstall over directories that have been put in
268## place with their files read-only (perhaps because they are checked
269## into RCS). In order to make this safe, we make sure that the
270## source exists and is distinct from the destination.
653ddcc3
RS
271## We don't depend on `all', but rather on ${SUBDIR}, so that we won't
272## ever modify src/paths.h.
f512d050 273install: ${SUBDIR} install-arch-dep install-arch-indep blessmail;
8b14d296 274
af1d3b64
RS
275### Note that we copy the DOC-* files from the build etc directory
276### as well as lots of things from ${srcdir}/etc.
3be1f08e 277install-arch-dep: mkdir
8b14d296 278 (cd lib-src; \
0e265b72 279 $(MAKE) install $(MFLAGS) prefix=${prefix} \
8b14d296
JB
280 exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \
281 archlibdir=${archlibdir})
08068cb6
RS
282 ${INSTALL_PROGRAM} src/emacs ${bindir}/emacs-${version}
283 -chmod 1755 ${bindir}/emacs-${version}
9ef7f9f0
KH
284 rm -f ${bindir}/$(EMACS)
285 -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
08068cb6 286
3be1f08e
RS
287### Note that we copy the DOC-* files from the build etc directory
288### as well as lots of things from ${srcdir}/etc.
08068cb6 289install-arch-indep: mkdir
46947372 290 -set ${COPYDESTS} ; \
005775ce 291 for dir in ${COPYDIR} ; do \
8fd812d1 292 if [ `(cd $$1 && pwd)` != `(cd $${dir} && pwd)` ] ; then \
88190b54 293 rm -rf $$1 ; \
005775ce 294 fi ; \
335bb18d 295 shift ; \
005775ce
JB
296 done
297 -set ${COPYDESTS} ; \
8b14d296 298 mkdir ${COPYDESTS} ; \
46947372
JB
299 for dir in ${COPYDIR} ; do \
300 dest=$$1 ; shift ; \
d3245f70 301 [ -d $${dir} ] \
8fd812d1 302 && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
3dbc7e32 303 && (echo "Copying $${dir}..." ; \
5d9e58e8 304 (cd $${dir}; tar -cf - . )|(cd $${dest};umask 022; tar -xvf - ); \
d3245f70
JB
305 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
306 rm -rf $${subdir}/RCS ; \
307 rm -rf $${subdir}/CVS ; \
308 rm -f $${subdir}/\#* ; \
309 rm -f $${subdir}/*~ ; \
310 done) ; \
46947372 311 done
3be1f08e
RS
312 if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
313 then \
314 echo "Copying etc/DOC* ..." ; \
315 (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
316 else true; fi
d59d49d3 317 thisdir=`pwd`; \
21e8e1db 318 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
5e9e88fd 319 then \
ce0b6622
RS
320 (cd ${srcdir}/info ; \
321 if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \
d59d49d3 322 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \
ce0b6622 323 fi ; \
3be1f08e 324 for f in cl* dired-x* emacs* forms* gnus* info* sc* vip* ; do \
d59d49d3 325 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \
ce0b6622 326 done); \
21e8e1db 327 else true; fi
d59d49d3
RM
328 thisdir=`pwd`; cd ${srcdir}/etc; for page in emacs etags ctags ; do \
329 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext}); \
868e080d 330 done
badb0a97 331
868e080d 332### Build all the directories we're going to install Emacs in. Since
78008d14
JB
333### we may be creating several layers of directories (for example,
334### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use make-path
335### instead of mkdir. Not all systems' mkdirs have the `-p' flag.
b305e8e5 336mkdir: FRC.mkdir
8b14d296 337 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \
a1a7207a 338 ${bindir} ${datadir} ${docdir} ${libdir} \
c469713a 339 `echo ${locallisppath} | sed 's/:/ /'`
653ddcc3 340 -chmod 777 ${lockdir}
86a5659e 341
d4acf74f
JB
342### Delete all the installed files that the `install' target would
343### create (but not the noninstalled files such as `make all' would
344### create).
44257b1a
JB
345###
346### Don't delete the lisp and etc directories if they're in the source tree.
d4acf74f 347uninstall:
44257b1a 348 (cd lib-src; \
0e265b72 349 $(MAKE) $(MFLAGS) uninstall \
44257b1a 350 prefix=${prefix} exec_prefix=${exec_prefix} \
d4acf74f 351 bindir=${bindir} libdir=${libdir} archlibdir=${archlibdir})
44257b1a 352 for dir in ${lispdir} ${etcdir} ; do \
726d0798
RS
353 if [ -d $${dir} ]; then \
354 case `(cd $${dir} ; pwd)` in \
355 `(cd ${srcdir} ; pwd)`* ) ;; \
356 * ) rm -rf $${dir} ;; \
357 esac ; \
358 case $${dir} in \
359 ${datadir}/emacs/${version}/* ) \
360 rm -rf ${datadir}/emacs/${version} \
361 ;; \
362 esac ; \
363 fi ; \
44257b1a 364 done
d4acf74f
JB
365 (cd ${infodir}; rm -f cl* emacs* forms* info* vip*)
366 (cd ${mandir}; rm -f emacs.1 etags.1 ctags.1)
367 (cd ${bindir}; rm -f emacs-${version} emacs)
368
369
04d9326a
JB
370### Some makes seem to remember that they've built something called FRC,
371### so you can only use a given FRC once per makefile.
b305e8e5 372FRC FRC.src.paths.h FRC.src FRC.lib-src FRC.mkdir:
d4acf74f 373FRC.mostlyclean FRC.clean FRC.distclean FRC.realclean:
78008d14
JB
374
375# ==================== Cleaning up and miscellanea ====================
376
98dfba1b
RS
377.PHONY: mostlyclean clean distclean realclean extraclean
378
78008d14 379### `mostlyclean'
d4acf74f
JB
380### Like `clean', but may refrain from deleting a few files that people
381### normally don't want to recompile. For example, the `mostlyclean'
382### target for GCC does not delete `libgcc.a', because recompiling it
383### is rarely necessary and takes a lot of time.
384mostlyclean: FRC.mostlyclean
0e265b72
BF
385 (cd src; $(MAKE) $(MFLAGS) mostlyclean)
386 (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean)
98dfba1b 387 (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean)
0e265b72 388 (cd lib-src; $(MAKE) $(MFLAGS) mostlyclean)
e6124e9d 389 -(cd man && $(MAKE) $(MFLAGS) mostlyclean)
d4acf74f
JB
390
391### `clean'
392### Delete all files from the current directory that are normally
393### created by building the program. Don't delete the files that
394### record the configuration. Also preserve files that could be made
395### by building, but normally aren't because the distribution comes
396### with them.
78008d14 397###
d4acf74f
JB
398### Delete `.dvi' files here if they are not part of the distribution.
399clean: FRC.clean
0e265b72
BF
400 (cd src; $(MAKE) $(MFLAGS) clean)
401 (cd oldXMenu; $(MAKE) $(MFLAGS) clean)
98dfba1b 402 (cd lwlib; $(MAKE) $(MFLAGS) clean)
0e265b72 403 (cd lib-src; $(MAKE) $(MFLAGS) clean)
e6124e9d 404 -(cd man && $(MAKE) $(MFLAGS) clean)
46947372 405
78008d14 406### `distclean'
d4acf74f
JB
407### Delete all files from the current directory that are created by
408### configuring or building the program. If you have unpacked the
409### source and built the program without creating any other files,
410### `make distclean' should leave only the files that were in the
411### distribution.
412top_distclean=\
413 rm -f config.status build-install ; \
414 rm -f Makefile ${SUBDIR_MAKEFILES} ; \
39b62b3b 415 (cd lock ; rm -f *)
d4acf74f 416distclean: FRC.distclean
0e265b72
BF
417 (cd src; $(MAKE) $(MFLAGS) distclean)
418 (cd oldXMenu; $(MAKE) $(MFLAGS) distclean)
98dfba1b 419 (cd lwlib; $(MAKE) $(MFLAGS) distclean)
0e265b72 420 (cd lib-src; $(MAKE) $(MFLAGS) distclean)
e6124e9d 421 (cd man && $(MAKE) $(MFLAGS) distclean)
d4acf74f
JB
422 ${top_distclean}
423
46947372 424
78008d14 425### `realclean'
d4acf74f
JB
426### Delete everything from the current directory that can be
427### reconstructed with this Makefile. This typically includes
428### everything deleted by distclean, plus more: C source files
429### produced by Bison, tags tables, info files, and so on.
430###
431### One exception, however: `make realclean' should not delete
432### `configure' even if `configure' can be remade using a rule in the
433### Makefile. More generally, `make realclean' should not delete
434### anything that needs to exist in order to run `configure' and then
435### begin to build the program.
436realclean: FRC.realclean
0e265b72
BF
437 (cd src; $(MAKE) $(MFLAGS) realclean)
438 (cd oldXMenu; $(MAKE) $(MFLAGS) realclean)
98dfba1b 439 (cd lwlib; $(MAKE) $(MFLAGS) realclean)
0e265b72 440 (cd lib-src; $(MAKE) $(MFLAGS) realclean)
e6124e9d 441 -(cd man && $(MAKE) $(MFLAGS) realclean)
d4acf74f 442 ${top_distclean}
46947372 443
78008d14
JB
444### This doesn't actually appear in the coding standards, but Karl
445### says GCC supports it, and that's where the configuration part of
446### the coding standards seem to come from. It's like distclean, but
447### it deletes backup and autosave files too.
448extraclean:
0e265b72 449 for i in ${SUBDIR}; do (cd $$i; $(MAKE) $(MFLAGS) extraclean); done
78008d14
JB
450 -(cd lock; rm *)
451 -rm config.status config-tmp-*
452 -rm -f *~ \#*
453
29c0047b
ER
454### Unlocking and relocking. The idea of these productions is to reduce
455### hassles when installing an incremental tar of Emacs. Do `make unlock'
456### before unlocking the file to take the write locks off all sources so
457### that tar xvof will overwrite them without fuss. Then do `make relock'
458### afterward so that VC mode will know which files should be checked in
459### if you want to mung them.
460###
461### Note: it's no disaster if these productions miss a file or two; tar
462### and VC will swiftly let you know if this happens, and it is easily
463### corrected.
464SOURCES = ChangeLog GETTING.GNU.SOFTWARE INSTALL Makefile.in PROBLEMS \
465 README build-install.in configure make-dist move-if-change
466
98dfba1b
RS
467.PHONY: unlock relock
468
29c0047b
ER
469unlock:
470 chmod u+w $(SOURCES) cpp/*
471 -(cd elisp; chmod u+w Makefile README *.texi)
0e265b72
BF
472 (cd etc; $(MAKE) $(MFLAGS) unlock)
473 (cd lib-src; $(MAKE) $(MFLAGS) unlock)
474 (cd lisp; $(MAKE) $(MFLAGS) unlock)
29c0047b
ER
475 (cd lisp/term; chmod u+w README *.el)
476 (cd man; chmod u+w *texi* ChangeLog split-man)
477 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
98dfba1b 478 (cd lwlib; chmod u+w *.[ch] Makefile README)
0e265b72 479 (cd src; $(MAKE) $(MFLAGS) unlock)
29c0047b
ER
480
481relock:
482 chmod u-w $(SOURCES) cpp/*
483 -(cd elisp; chmod u-w Makefile README *.texi)
0e265b72
BF
484 (cd etc; $(MAKE) $(MFLAGS) relock)
485 (cd lib-src; $(MAKE) $(MFLAGS) relock)
486 (cd lisp; $(MAKE) $(MFLAGS) relock)
29c0047b
ER
487 (cd lisp/term; chmod u+w README *.el)
488 (cd man; chmod u+w *texi* ChangeLog split-man)
489 (cd oldXMenu; chmod u+w *.[ch] Makefile README)
98dfba1b 490 (cd lwlib; chmod u+w *.[ch] Makefile README)
0e265b72 491 (cd src; $(MAKE) $(MFLAGS) relock)
78008d14 492
46947372 493TAGS tags: lib-src
928cf895 494 cd ${srcdir}/src; $(MAKE) tags
46947372
JB
495
496check:
497 @echo "We don't have any tests for GNU Emacs yet."
4746118a
JB
498
499dist:
78008d14 500 cd ${srcdir}; make-dist
d4acf74f 501
653ddcc3
RS
502.PHONY: info dvi dist check
503force-info:
504info: force-info
0e265b72 505 (cd ${srcdir}/man; $(MAKE) $(MFLAGS) info)
d4acf74f 506dvi:
0e265b72 507 (cd ${srcdir}/man; $(MAKE) $(MFLAGS) dvi)