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
5 # make all to compile and build Emacs.
6 # make install to install it.
7 # make TAGS to update tags tables.
9 # make clean or make mostlyclean
10 # Delete all files from the current directory that are normally
11 # created by building the program. Don't delete the files that
12 # record the configuration. Also preserve files that could be made
13 # by building, but normally aren't because the distribution comes
16 # Delete `.dvi' files here if they are not part of the distribution.
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
25 # make maintainer-clean
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.
32 # Still more severe - delete backup and autosave files, too.
36 # If Make doesn't predefine MAKE, set it here.
39 # ==================== Things `configure' Might Edit ====================
43 C_SWITCH_SYSTEM
=@c_switch_system@
49 C_SWITCH_X_SITE
=@C_SWITCH_X_SITE@
50 LD_SWITCH_X_SITE
=@LD_SWITCH_X_SITE@
53 ### These help us choose version- and architecture-specific directories
54 ### to install files in.
56 ### This should be the number of the Emacs version we're building,
57 ### like `18.59' or `19.0'.
60 ### This should be the name of the configuration we're building Emacs
61 ### for, like `mips-dec-ultrix' or `sparc-sun-sunos'.
62 configuration
=@configuration@
64 # ==================== Where To Install Things ====================
66 # The default location for installation. Everything is placed in
67 # subdirectories of this directory. The default values for many of
68 # the variables below are expressed in terms of this one, so you may
69 # not need to change them. This defaults to /usr/local.
72 # Like `prefix', but used for architecture-specific files.
73 exec_prefix=@
exec_prefix@
75 # Where to install Emacs and other binaries that people will want to
76 # run directly (like etags).
79 # Where to install architecture-independent data files. ${lispdir}
80 # and ${etcdir} are subdirectories of this.
83 # Where to install and expect the files that Emacs modifies as it
84 # runs. These files are all architecture-independent.
85 # Right now, this is not used.
86 sharedstatedir
=@sharedstatedir@
88 # Where to install and expect executable files to be run by Emacs
89 # rather than directly by users, and other architecture-dependent
90 # data. ${archlibdir} is a subdirectory of this.
91 libexecdir
=@libexecdir@
93 # Where to install Emacs's man pages, and what extension they should have.
96 man1dir=$(mandir)/man1
98 # Where to install and expect the info files describing Emacs. In the
99 # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but
100 # since there are now many packages documented with the texinfo
101 # system, it is inappropriate to imply that it is part of Emacs.
104 # Where to look for bitmap files.
105 bitmapdir
=@bitmapdir@
107 # Where to find the source code. The source code for Emacs's C kernel is
108 # expected to be in ${srcdir}/src, and the source code for Emacs's
109 # utility programs is expected to be in ${srcdir}/lib-src. This is
110 # set by the configure script's `--srcdir' option.
112 # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
115 # Tell make where to find source files; this is needed for the makefiles.
118 # Where to find the application default.
119 x_default_search_path
=@x_default_search_path@
121 # ==================== Emacs-specific directories ====================
123 # These variables hold the values Emacs will actually use. They are
124 # based on the values of the standard Make variables above.
126 # Where to install the lisp files distributed with
127 # Emacs. This includes the Emacs version, so that the
128 # lisp files for different versions of Emacs will install
129 # themselves in separate directories.
132 # Directories Emacs should search for lisp files specific
133 # to this site (i.e. customizations), before consulting
134 # ${lispdir}. This should be a colon-separated list of
136 locallisppath
=@locallisppath@
138 # Where Emacs will search to find its lisp files. Before
139 # changing this, check to see if your purpose wouldn't
140 # better be served by changing locallisppath. This
141 # should be a colon-separated list of directories.
144 # Where Emacs will search for its lisp files while
145 # building. This is only used during the process of
146 # compiling Emacs, to help Emacs find its lisp files
147 # before they've been installed in their final location.
148 # It's usually identical to lisppath, except that
149 # it does not include locallisppath, and the
150 # entry for the directory containing the installed lisp
151 # files has been replaced with ../lisp. This should be a
152 # colon-separated list of directories.
153 buildlisppath
=${srcdir}/lisp
155 # Where to install the other architecture-independent
156 # data files distributed with Emacs (like the tutorial,
157 # the cookie recipes and the Zippy database). This path
158 # usually contains the Emacs version number, so the data
159 # files for multiple versions of Emacs may be installed
163 # Where to put executables to be run by Emacs rather than
164 # the user. This path usually includes the Emacs version
165 # and configuration name, so that multiple configurations
166 # for multiple versions of Emacs may be installed at
168 archlibdir
=@archlibdir@
170 # Where to put the docstring file.
173 # ==================== Utility Programs for the Build ====================
175 # Allow the user to specify the install program.
177 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
178 INSTALL_DATA
= @INSTALL_DATA@
179 INSTALL_INFO
= install-info
180 # By default, we uphold the dignity of our programs.
183 # ============================= Targets ==============================
185 # What emacs should be called when installed.
188 # Subdirectories to make recursively. `lisp' is not included
189 # because the compiled lisp files are part of the distribution
190 # and you cannot remake them without installing Emacs first.
191 SUBDIR
= lib-src src leim
193 # The makefiles of the directories in $SUBDIR.
194 SUBDIR_MAKEFILES
= lib-src
/Makefile man
/Makefile src
/Makefile oldXMenu
/Makefile lwlib
/Makefile leim
/Makefile
196 # Subdirectories to install, and where they'll go.
197 # lib-src's makefile knows how to install it, so we don't do that here.
198 # leim's makefile also knows how to install it, so we don't do that here.
199 # When installing the info files, we need to do special things to
200 # avoid nuking an existing dir file, so we don't do that here;
201 # instead, we have written out explicit code in the `install' targets.
202 COPYDIR
= ${srcdir}/etc
${srcdir}/lisp
203 COPYDESTS
= ${etcdir} ${lispdir}
207 removenullpaths
=sed
-e
's/^://g' -e
's/:$$//g' -e
's/::/:/g'
209 # Generate epaths.h from epaths.in. This target is invoked by `configure'.
211 @
(lisppath
=`echo ${lisppath} | ${removenullpaths}` ; \
212 buildlisppath
=`echo ${buildlisppath} | ${removenullpaths}` ; \
213 x_default_search_path
=`echo ${x_default_search_path}`; \
214 sed
< ${srcdir}/src
/epaths.in
> epaths.h.
$$$$ \
215 -e
's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
216 -e
's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
217 -e
's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
218 -e
's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
219 -e
's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
220 -e
's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \
221 -e
's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \
222 -e
's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \
223 ${srcdir}/move-if-change epaths.h.
$$$$ src
/epaths.h
225 # For parallel make, src should be build before leim.
230 lib-src
: FRC src
/config.stamp
232 .RECURSIVE
: ${SUBDIR}
234 ${SUBDIR}: ${SUBDIR_MAKEFILES} FRC
235 cd
$@
; $(MAKE
) all $(MFLAGS
) \
236 CC
='${CC}' CFLAGS
='${CFLAGS}' CPPFLAGS
='${CPPFLAGS}' \
237 LDFLAGS
='${LDFLAGS}' MAKE
='${MAKE}'
239 blessmail
: ${SUBDIR_MAKEFILES} src FRC
240 cd lib-src
; $(MAKE
) maybe-blessmail
$(MFLAGS
) \
241 MAKE
='${MAKE}' archlibdir
='$(archlibdir)'
243 Makefile
: $(srcdir)/Makefile.in config.status
246 config.status
: configure
247 .
/config.status
--recheck
249 ${srcdir}/configure
: configure.in
250 cd
${srcdir} && autoconf
252 src
/Makefile
: $(srcdir)/src
/Makefile.in config.status
255 src
/config.stamp
: $(srcdir)/src
/config.in config.status
257 touch src
/config.stamp
259 lib-src
/Makefile
: $(srcdir)/lib-src
/Makefile.in config.status
262 man
/Makefile
: $(srcdir)/man
/Makefile.in config.status
265 oldXMenu
/Makefile
: $(srcdir)/oldXMenu
/Makefile.in config.status
268 lwlib
/Makefile
: $(srcdir)/lwlib
/Makefile.in config.status
271 leim
/Makefile
: $(srcdir)/leim
/Makefile.in config.status
274 # ==================== Installation ====================
276 ## If we let lib-src do its own installation, that means we
277 ## don't have to duplicate the list of utilities to install in
278 ## this Makefile as well.
280 ## On AIX, use tar xBf.
281 ## On Xenix, use tar xpf.
283 .PHONY
: install mkdir
285 ## We delete each directory in ${COPYDESTS} before we copy into it;
286 ## that way, we can reinstall over directories that have been put in
287 ## place with their files read-only (perhaps because they are checked
288 ## into RCS). In order to make this safe, we make sure that the
289 ## source exists and is distinct from the destination.
290 ### We do install-arch-indep first because
291 ### the executable needs the Lisp files and DOC file to work properly.
292 install: all install-arch-indep install-arch-dep install-leim blessmail
295 ### Install the executables that were compiled specifically for this machine.
296 ### It would be nice to do something for a parallel make
297 ### to ensure that install-arch-indep finishes before this starts.
298 install-arch-dep
: mkdir
300 $(MAKE
) install $(MFLAGS
) prefix=${prefix} \
301 exec_prefix=${exec_prefix} bindir=${bindir} \
302 libexecdir
=${libexecdir} archlibdir
=${archlibdir} \
303 INSTALL_STRIP
=${INSTALL_STRIP})
304 ${INSTALL_PROGRAM} $(INSTALL_STRIP
) src
/emacs
${bindir}/emacs-
${version}
305 -chmod
1755 ${bindir}/emacs-
${version}
306 rm -f
${bindir}/$(EMACS
)
307 -ln
${bindir}/emacs-
${version} ${bindir}/$(EMACS
)
308 for f in
`cd lib-src && echo fns-*.el`; do \
309 ${INSTALL_DATA} lib-src
/$$f ${archlibdir}/$$f; \
312 ### Install the files that are machine-independent.
313 ### Most of them come straight from the distribution;
314 ### the exception is the DOC-* files, which are copied
315 ## from the build directory.
317 ## Note that we copy DOC* and then delete DOC
318 ## as a workaround for a bug in tar on Ultrix 4.2.
319 install-arch-indep
: mkdir
320 -set
${COPYDESTS} ; \
321 for
dir in
${COPYDIR} ; do \
322 if
[ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \
327 -set
${COPYDESTS} ; \
328 mkdir
${COPYDESTS} ; \
329 chmod ugo
+rx
${COPYDESTS} ; \
330 for
dir in
${COPYDIR} ; do \
333 && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
334 && (echo
"Copying $${dir} to $${dest}..." ; \
335 (cd
$${dir}; tar -cf
- .
) \
336 |
(cd
$${dest};umask
022; tar -xvf
- && cat
> /dev
/null
); \
337 for subdir in
`find $${dest} -type d ! -name RCS -print` ; do \
338 chmod a
+rx
$${subdir} ; \
339 rm -rf
$${subdir}/RCS
; \
340 rm -rf
$${subdir}/CVS
; \
341 rm -f
$${subdir}/\
#* ; \
342 rm -f
$${subdir}/.\
#* ; \
343 rm -f
$${subdir}/*~
; \
344 rm -f
$${subdir}/*.orig
; \
345 rm -f
$${subdir}/[mM
]akefile
* ; \
346 rm -f
$${subdir}/ChangeLog
* ; \
347 rm -f
$${subdir}/dired.todo
; \
350 -rm -f
${lispdir}/subdirs.el
351 $(srcdir)/update-subdirs
${lispdir}
352 if
[ -f
${datadir}/emacs
/${version}/site-lisp
/subdirs.el
]; \
355 (echo
"(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \
356 echo
" (normal-top-level-add-subdirs-to-load-path))") \
357 > ${datadir}/emacs
/${version}/site-lisp
/subdirs.el
; \
359 chmod a
+r
${datadir}/emacs
/${version}/site-lisp
/subdirs.el
360 -if
[ -f
${datadir}/emacs
/site-lisp
/subdirs.el
]; \
363 (echo
"(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \
364 echo
" (normal-top-level-add-subdirs-to-load-path))") \
365 > ${datadir}/emacs
/site-lisp
/subdirs.el
; \
367 -chmod a
+r
${datadir}/emacs
/site-lisp
/subdirs.el
368 if
[ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
370 echo
"Copying etc/DOC-* to ${docdir} ..." ; \
371 (cd .
/etc
; tar -cf
- DOC
*) \
372 |
(cd
${docdir}; umask
0; tar -xvf
- && cat
> /dev
/null
); \
373 (cd
$(docdir
); chmod a
+r DOC
*; rm DOC
); \
376 && [ -r .
/lisp
/simple.el
] \
377 && [ x
`(cd ./lisp; /bin/pwd)` != x
`(cd ${lispdir}; /bin/pwd)` ] \
378 && [ x
`(cd ${srcdir}/lisp; /bin/pwd)` != x
`(cd ./lisp; /bin/pwd)` ]; \
380 echo
"Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
381 (cd lisp
; tar -cf
- *.el
*.elc
) \
382 |
(cd
${lispdir}; umask
0; tar -xvf
- && cat
> /dev
/null
); \
384 thisdir
=`/bin/pwd`; \
385 if
[ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
388 if
[ -f
dir ]; then true
; \
391 ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir; \
392 chmod a
+r
${infodir}/dir); \
394 cd
${srcdir}/info ; \
395 for f in ada-mode
* ccmode
* cl
* dired-x
* ediff
* emacs
* forms
* gnus
* info* message
* mh-e
* reftex
* sc
* vip
* widget
*; do \
397 ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \
398 chmod a
+r
${infodir}/$$f); \
401 -thisdir
=`/bin/pwd`; \
402 if
[ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
404 for f in ada-mode ccmode cl dired-x ediff emacs forms gnus
info message mh-e reftex sc vip viper widget
; do \
406 ${INSTALL_INFO} --dir-file
=${infodir}/dir --info-file
=${infodir}/$$f); \
409 -chmod
-R a
+r
${datadir}/emacs
${COPYDESTS} ${infodir}
410 thisdir
=`/bin/pwd`; \
412 for page in emacs etags ctags
; do \
414 ${INSTALL_DATA} ${srcdir}/etc
/$${page}.1 ${man1dir}/$${page}${manext}; \
415 chmod a
+r
${man1dir}/$${page}${manext}); \
418 ### Install LEIM files. Although they are machine-independent, we
419 ### have separate target here instead of including it in
420 ### `install-arch-indep'. People who extracted LEIM files after they
421 ### insalled Emacs itself can install only LEIM files by this target.
422 install-leim
: leim
/Makefile mkdir
423 cd leim
; $(MAKE
) install
425 ### Build Emacs and install it, stripping binaries while installing them.
427 $(MAKE
) INSTALL_STRIP
=-s
429 ### Build all the directories we're going to install Emacs in. Since
430 ### we may be creating several layers of directories (for example,
431 ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use mkinstalldirs
432 ### instead of mkdir. Not all systems' mkdir programs have the `-p' flag.
434 if
[ -d
${datadir} ]; then true
; else \
435 $(srcdir)/mkinstalldirs
${datadir}; \
436 chmod a
+r
${datadir};\
438 $(srcdir)/mkinstalldirs
${COPYDESTS} ${infodir} ${man1dir} \
439 ${bindir} ${docdir} ${libexecdir} \
440 ${datadir}/emacs
/site-lisp \
441 ${datadir}/emacs
/${version}/site-lisp \
442 `echo ${locallisppath} | sed 's/:/ /g'`
444 ### Delete all the installed files that the `install' target would
445 ### create (but not the noninstalled files such as `make all' would
448 ### Don't delete the lisp and etc directories if they're in the source tree.
451 $(MAKE
) $(MFLAGS
) uninstall \
452 prefix=${prefix} exec_prefix=${exec_prefix} \
453 bindir=${bindir} libexecdir
=${libexecdir} archlibdir
=${archlibdir})
454 for
dir in
${lispdir} ${etcdir} ; do \
455 if
[ -d
$${dir} ]; then \
456 case
`(cd $${dir} ; /bin/pwd)` in \
457 `(cd ${srcdir} ; /bin/pwd)`* ) ;; \
458 * ) rm -rf
$${dir} ;; \
461 ${datadir}/emacs
/${version}/* ) \
462 rm -rf
${datadir}/emacs
/${version} \
467 (cd
${infodir} && rm -f cl
* dired-x
* ediff
* emacs
* forms
* gnus
* info* mh-e
* sc
* vip
*)
468 (cd
${man1dir} && rm -f emacs
.1 etags
.1 ctags
.1)
469 (cd
${bindir} && rm -f emacs-
${version} $(EMACS
))
474 # ==================== Cleaning up and miscellanea ====================
476 .PHONY
: mostlyclean clean distclean maintainer-clean extraclean
479 ### Like `clean', but may refrain from deleting a few files that people
480 ### normally don't want to recompile. For example, the `mostlyclean'
481 ### target for GCC does not delete `libgcc.a', because recompiling it
482 ### is rarely necessary and takes a lot of time.
484 (cd src
; $(MAKE
) $(MFLAGS
) mostlyclean)
485 (cd oldXMenu
; $(MAKE
) $(MFLAGS
) mostlyclean)
486 (cd lwlib
; $(MAKE
) $(MFLAGS
) mostlyclean)
487 (cd lib-src
; $(MAKE
) $(MFLAGS
) mostlyclean)
488 -(cd man
&& $(MAKE
) $(MFLAGS
) mostlyclean)
489 (cd leim
; $(MAKE
) $(MFLAGS
) mostlyclean)
492 ### Delete all files from the current directory that are normally
493 ### created by building the program. Don't delete the files that
494 ### record the configuration. Also preserve files that could be made
495 ### by building, but normally aren't because the distribution comes
498 ### Delete `.dvi' files here if they are not part of the distribution.
500 (cd src
; $(MAKE
) $(MFLAGS
) clean)
501 (cd oldXMenu
; $(MAKE
) $(MFLAGS
) clean)
502 (cd lwlib
; $(MAKE
) $(MFLAGS
) clean)
503 (cd lib-src
; $(MAKE
) $(MFLAGS
) clean)
504 -(cd man
&& $(MAKE
) $(MFLAGS
) clean)
505 (cd leim
; $(MAKE
) $(MFLAGS
) clean)
508 ### Delete all files from the current directory that are created by
509 ### configuring or building the program. If you have unpacked the
510 ### source and built the program without creating any other files,
511 ### `make distclean' should leave only the files that were in the
514 rm -f config.status config.cache config.log
; \
515 rm -f Makefile
${SUBDIR_MAKEFILES} ; \
516 if
[ -d lock
] ; then
(cd lock
&& (rm -f
* || true
)); else true
; fi
518 (cd src
; $(MAKE
) $(MFLAGS
) distclean)
519 (cd oldXMenu
; $(MAKE
) $(MFLAGS
) distclean)
520 (cd lwlib
; $(MAKE
) $(MFLAGS
) distclean)
521 (cd lib-src
; $(MAKE
) $(MFLAGS
) distclean)
522 (cd man
&& $(MAKE
) $(MFLAGS
) distclean)
523 (cd leim
; $(MAKE
) $(MFLAGS
) distclean)
526 ### `maintainer-clean'
527 ### Delete everything from the current directory that can be
528 ### reconstructed with this Makefile. This typically includes
529 ### everything deleted by distclean, plus more: C source files
530 ### produced by Bison, tags tables, info files, and so on.
532 ### One exception, however: `make maintainer-clean' should not delete
533 ### `configure' even if `configure' can be remade using a rule in the
534 ### Makefile. More generally, `make maintainer-clean' should not delete
535 ### anything that needs to exist in order to run `configure' and then
536 ### begin to build the program.
537 maintainer-clean
: FRC
538 (cd src
; $(MAKE
) $(MFLAGS
) maintainer-clean
)
539 (cd oldXMenu
; $(MAKE
) $(MFLAGS
) maintainer-clean
)
540 (cd lwlib
; $(MAKE
) $(MFLAGS
) maintainer-clean
)
541 (cd lib-src
; $(MAKE
) $(MFLAGS
) maintainer-clean
)
542 -(cd man
&& $(MAKE
) $(MFLAGS
) maintainer-clean
)
543 (cd leim
; $(MAKE
) $(MFLAGS
) maintainer-clean
)
546 ### This doesn't actually appear in the coding standards, but Karl
547 ### says GCC supports it, and that's where the configuration part of
548 ### the coding standards seem to come from. It's like distclean, but
549 ### it deletes backup and autosave files too.
551 for i in
${SUBDIR}; do
(cd
$$i; $(MAKE
) $(MFLAGS
) extraclean
); done
556 ### Unlocking and relocking. The idea of these productions is to reduce
557 ### hassles when installing an incremental tar of Emacs. Do `make unlock'
558 ### before unlocking the file to take the write locks off all sources so
559 ### that tar xvof will overwrite them without fuss. Then do `make relock'
560 ### afterward so that VC mode will know which files should be checked in
561 ### if you want to mung them.
563 ### Note: it's no disaster if these productions miss a file or two; tar
564 ### and VC will swiftly let you know if this happens, and it is easily
566 SOURCES
= ChangeLog GETTING.GNU.SOFTWARE INSTALL Makefile.in \
567 README configure make-dist move-if-change
569 .PHONY
: unlock relock
573 -(cd elisp
; chmod u
+w Makefile README
*.texi
)
574 (cd etc
; $(MAKE
) $(MFLAGS
) unlock
)
575 (cd lib-src
; $(MAKE
) $(MFLAGS
) unlock
)
576 (cd lisp
; $(MAKE
) $(MFLAGS
) unlock
)
577 (cd lisp
/term
; chmod u
+w README
*.el
)
578 (cd man
; chmod u
+w
*texi
* ChangeLog split-man
)
579 (cd oldXMenu
; chmod u
+w
*.
[ch
] Makefile README
)
580 (cd lwlib
; chmod u
+w
*.
[ch
] Makefile README
)
581 (cd src
; $(MAKE
) $(MFLAGS
) unlock
)
585 -(cd elisp
; chmod u-w Makefile README
*.texi
)
586 (cd etc
; $(MAKE
) $(MFLAGS
) relock
)
587 (cd lib-src
; $(MAKE
) $(MFLAGS
) relock
)
588 (cd lisp
; $(MAKE
) $(MFLAGS
) relock
)
589 (cd lisp
/term
; chmod u
+w README
*.el
)
590 (cd man
; chmod u
+w
*texi
* ChangeLog split-man
)
591 (cd oldXMenu
; chmod u
+w
*.
[ch
] Makefile README
)
592 (cd lwlib
; chmod u
+w
*.
[ch
] Makefile README
)
593 (cd src
; $(MAKE
) $(MFLAGS
) relock
)
595 TAGS
tags: lib-src src
596 # The src subdir knows how to do the right thing
597 # even when the build directory and source dir are different.
601 @echo
"We don't have any tests for GNU Emacs yet."
604 cd
${srcdir}; make-dist
606 .PHONY
: info dvi dist check
609 # Note that man/Makefile knows how to
610 # put the info files in $(srcdir),
611 # so we can do ok running make in the build dir.
612 (cd man
; $(MAKE
) $(MFLAGS
) info)
614 (cd man
; $(MAKE
) $(MFLAGS
) dvi)