Mercurial > emacs
comparison Makefile.in @ 90044:cb7f41387eb3
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-70
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-669
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-678
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-680
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-688
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-689
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-690
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-691
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
- miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-71
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 12 Nov 2004 02:53:04 +0000 |
parents | cce1c0ee76ee 3bdbcfe4d4e0 |
children | f2ebccfa87d4 |
comparison
equal
deleted
inserted
replaced
90043:e24e2e78deda | 90044:cb7f41387eb3 |
---|---|
49 # C source files produced by Bison, tags tables, info files, | 49 # C source files produced by Bison, tags tables, info files, |
50 # and so on. | 50 # and so on. |
51 # | 51 # |
52 # make extraclean | 52 # make extraclean |
53 # Still more severe - delete backup and autosave files, too. | 53 # Still more severe - delete backup and autosave files, too. |
54 # | |
55 # make bootstrap | |
56 # Recompiles all the Emacs Lisp files using the latest source, | |
57 # then rebuilds Emacs. | |
58 # | |
59 # make bootfast | |
60 # Recompiles changed Emacs Lisp files using the latest C source, | |
61 # then rebuilds Emacs. This is faster than `make bootstrap' | |
62 # but once in a while an old .elc file can cause trouble. | |
54 | 63 |
55 SHELL = /bin/sh | 64 SHELL = /bin/sh |
56 | 65 |
57 # This may not work with certain non-GNU make's. It only matters when | 66 # This may not work with certain non-GNU make's. It only matters when |
58 # inheriting a CDPATH not starting with the current directory. | 67 # inheriting a CDPATH not starting with the current directory. |
724 ### lisp subdirectory, removing all compiled Lisp files. Then a | 733 ### lisp subdirectory, removing all compiled Lisp files. Then a |
725 ### special emacs executable is built from Lisp sources, which is then | 734 ### special emacs executable is built from Lisp sources, which is then |
726 ### used to compile Lisp files. The last step is a "normal" make. | 735 ### used to compile Lisp files. The last step is a "normal" make. |
727 | 736 |
728 .PHONY: bootstrap | 737 .PHONY: bootstrap |
738 .PHONY: bootstrap-build | |
739 .PHONY: bootfast | |
729 .PHONY: maybe_bootstrap | 740 .PHONY: maybe_bootstrap |
730 | 741 |
731 maybe_bootstrap: | 742 maybe_bootstrap: |
732 @bar="`echo $(srcdir)/lisp/*.elc`"; \ | 743 @bar="`echo $(srcdir)/lisp/*.elc`"; \ |
733 if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$$bar" = '' \) ]; then \ | 744 if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$$bar" = '' \) ]; then \ |
735 echo "You need to do \`make bootstrap' to build Emacs."; \ | 746 echo "You need to do \`make bootstrap' to build Emacs."; \ |
736 echo "Emacs now requires Texinfo version 4.2."; \ | 747 echo "Emacs now requires Texinfo version 4.2."; \ |
737 exit 1;\ | 748 exit 1;\ |
738 fi | 749 fi |
739 | 750 |
740 bootstrap: bootstrap-clean-before info FRC | 751 bootstrap: bootstrap-clean-before info bootstrap-build FRC |
752 | |
753 bootfast: bootstrap-clean-before-fast info bootstrap-build FRC | |
754 | |
755 bootstrap-build: FRC | |
741 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-prepare) | 756 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-prepare) |
742 (cd src; $(MAKE) $(MFLAGS) bootstrap) | 757 (cd src; $(MAKE) $(MFLAGS) bootstrap) |
743 (cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs${EXEEXT}) | 758 (cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs${EXEEXT}) |
744 (cd src; $(MAKE) $(MFLAGS) mostlyclean) | 759 (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
745 $(MAKE) $(MFLAGS) all | 760 $(MAKE) $(MFLAGS) all |
746 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-after) | 761 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-after) |
747 | 762 |
748 ### Used for `bootstrap' to avoid deleting existing dumped Emacs executables. | 763 ### Used for `bootstrap' to avoid deleting existing dumped Emacs executables. |
749 bootstrap-clean-before: FRC | 764 bootstrap-clean-before: bootstrap-clean-before-fast FRC |
765 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) | |
766 | |
767 ### Used for `bootfast' to avoid deleting existing dumped Emacs executables | |
768 ### and compiled .elc files. | |
769 bootstrap-clean-before-fast: FRC | |
750 (cd src; $(MAKE) $(MFLAGS) mostlyclean) | 770 (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
751 (cd oldXMenu; $(MAKE) $(MFLAGS) clean) | 771 (cd oldXMenu; $(MAKE) $(MFLAGS) clean) |
752 (cd lwlib; $(MAKE) $(MFLAGS) clean) | 772 (cd lwlib; $(MAKE) $(MFLAGS) clean) |
753 (cd lib-src; $(MAKE) $(MFLAGS) clean) | 773 (cd lib-src; $(MAKE) $(MFLAGS) clean) |
754 -(cd man && $(MAKE) $(MFLAGS) clean) | 774 -(cd man && $(MAKE) $(MFLAGS) clean) |