Makefile: $(srcdir)/Makefile.in config.status
./config.status
-config.status: configure
+config.status: ${srcdir}/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
-chmod 1755 ${bindir}/emacs-${version}
rm -f ${bindir}/$(EMACS)
-ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
- unset CDPATH; \
+ -unset CDPATH; \
for f in `cd lib-src && echo fns-*.el`; do \
- ${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \
+ if test -r lib-src/$$f ; then \
+ ${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \
+ else true; fi ; \
done
### Install the files that are machine-independent.
## 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 ; \
> ${datadir}/emacs/site-lisp/subdirs.el; \
fi
-chmod a+r ${datadir}/emacs/site-lisp/subdirs.el
- unset CDPATH; \
+ -unset CDPATH; \
if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
then \
echo "Copying etc/DOC-* to ${docdir} ..." ; \
|(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \
(cd $(docdir); chmod a+r DOC*; rm DOC); \
else true; fi
- unset CDPATH; \
+ -unset CDPATH; \
if [ -r ./lisp ] \
&& [ -r ./lisp/simple.el ] \
&& [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
(cd lisp; tar -cf - *.el *.elc) \
|(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \
else true; fi
- unset CDPATH; \
+ -unset CDPATH; \
thisdir=`/bin/pwd`; \
if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
then \
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* ebrowse* ediff* efaq* emacs* eshell* eudc* forms* gnus* idlwave* info* message* mh-e* pcl-cvs* reftex* sc* speedbar* vip* widget* woman*; 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 ebrowse ediff efaq emacs emacs-mime eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar vip viper widget woman; do \
(cd $${thisdir}; \
- ${INSTALL_INFO} --dir-file=${infodir}/dir --info-file=${infodir}/$$f); \
+ ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/$$f); \
done; \
else true; fi
-chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir}
### 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,
$(MAKE) $(MFLAGS) uninstall \
prefix=${prefix} exec_prefix=${exec_prefix} \
bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir})
- unset CDPATH; \
+ -unset CDPATH; \
for dir in ${lispdir} ${etcdir} ; do \
if [ -d $${dir} ]; then \
case `(cd $${dir} ; /bin/pwd)` in \
(cd lib-src; $(MAKE) $(MFLAGS) distclean)
(cd man && $(MAKE) $(MFLAGS) distclean)
(cd leim; $(MAKE) $(MFLAGS) distclean)
+ (cd lisp; $(MAKE) $(MFLAGS) distclean)
${top_distclean}
### `maintainer-clean'
(cd lwlib; chmod u+w *.[ch] Makefile README)
(cd src; $(MAKE) $(MFLAGS) relock)
-TAGS tags: lib-src src
- # The src subdir knows how to do the right thing
- # even when the build directory and source dir are different.
+# The src subdir knows how to do the right thing
+# even when the build directory and source dir are different.
+TAGS tags:
+ lib-src src
cd src; $(MAKE) tags
check:
@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:
+# Note that man/Makefile knows how to
+# put the info files in $(srcdir),
+# so we can do ok running make in the build dir.
info: force-info
- # Note that man/Makefile knows how to
- # put the info files in $(srcdir),
- # so we can do ok running make in the build dir.
(cd man; $(MAKE) $(MFLAGS) info)
dvi:
(cd man; $(MAKE) $(MFLAGS) dvi)
### 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: clean bootstrap-lisp-1 bootstrap-src bootstrap-lisp clean all info
+
+bootstrap-lisp-1:
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
- (cd src; $(MAKE) $(MFLAGS) bootstrap)
+
+bootstrap-lisp:
-(cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs)
- $(MAKE) $(MFLAGS) clean
- $(MAKE) $(MFLAGS)
+bootstrap-src:
+ (cd src; $(MAKE) $(MFLAGS) bootstrap)