config.status: configure
./config.status --recheck
-${srcdir}/configure: configure.in
+${srcdir}/configure: configure.in aclocal.m4
cd ${srcdir} && autoconf
src/Makefile: $(srcdir)/src/Makefile.in config.status
## Note that we copy DOC* and then delete DOC
## as a workaround for a bug in tar on Ultrix 4.2.
-install-arch-indep: mkdir
+install-arch-indep: mkdir info
-set ${COPYDESTS} ; \
unset CDPATH; \
for dir in ${COPYDIR} ; do \
&& (echo "Copying $${dir} to $${dest}..." ; \
(cd $${dir}; tar -cf - . ) \
|(cd $${dest};umask 022; tar -xvf - && cat > /dev/null); \
- for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
+ for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \
chmod a+rx $${subdir} ; \
rm -rf $${subdir}/RCS ; \
rm -rf $${subdir}/CVS ; \
chmod a+r ${infodir}/dir); \
fi; \
cd ${srcdir}/info ; \
- for f in ada-mode* ccmode* cl* dired-x* ediff* emacs* forms* gnus* info* message* mh-e* reftex* sc* vip* widget*; do \
+ for f in ada-mode* autotype* ccmode* cl* dired-x* ediff* efaq* emacs* eudc* forms* gnus* idlwave* info* message* mh-e* reftex* sc* vip* widget*; do \
(cd $${thisdir}; \
${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \
chmod a+r ${infodir}/$$f); \
thisdir=`/bin/pwd`; \
if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
then \
- for f in ada-mode ccmode cl dired-x ediff emacs forms gnus info message mh-e reftex sc vip viper widget; do \
+ for f in ada-mode autotype ccmode cl dired-x ediff efaq emacs eudc forms gnus idlwave info message mh-e reftex sc vip viper widget; do \
(cd $${thisdir}; \
${INSTALL_INFO} --dir-file=${infodir}/dir --info-file=${infodir}/$$f); \
done; \
### Build Emacs and install it, stripping binaries while installing them.
install-strip:
- $(MAKE) INSTALL_STRIP=-s
+ $(MAKE) INSTALL_STRIP=-s install
### Build all the directories we're going to install Emacs in. Since
### we may be creating several layers of directories (for example,
@echo "We don't have any tests for GNU Emacs yet."
dist:
- cd ${srcdir}; make-dist
+ cd ${srcdir}; ./make-dist
-.PHONY: info dvi dist check
+.PHONY: info dvi dist check html
force-info:
info: force-info
# Note that man/Makefile knows how to
(cd man; $(MAKE) $(MFLAGS) info)
dvi:
(cd man; $(MAKE) $(MFLAGS) dvi)
+
+#### Bootstrapping.
+
+### This is meant for Emacs maintainers only. It first cleans the
+### lisp subdirectory, removing all compiled Lisp files. Then a
+### special emacs executable is built from Lisp sources, which is then
+### used to compile Lisp files. The last step is a "normal" make.
+
+bootstrap: clean bootstrap-lisp-1 bootstrap-src bootstrap-lisp clean all info
+
+bootstrap-lisp-1:
+ (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
+
+bootstrap-lisp:
+ -(cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs)
+
+bootstrap-src:
+ (cd src; $(MAKE) $(MFLAGS) bootstrap)