comparison lisp/Makefile.in @ 96162:1d7703058b99

Comment fixes.
author Glenn Morris <rgm@gnu.org>
date Sat, 21 Jun 2008 19:33:21 +0000
parents 0bca382a18f3
children a1ceb508623d
comparison
equal deleted inserted replaced
96161:080aa0038255 96162:1d7703058b99
98 esac; \ 98 esac; \
99 done 99 done
100 100
101 # `compile-main' tends to be slower than `recompile' but can be parallelized 101 # `compile-main' tends to be slower than `recompile' but can be parallelized
102 # with "make -j" and results in more deterministic compilation warnings. 102 # with "make -j" and results in more deterministic compilation warnings.
103 # cus-load ans finder-inf are not explicitly requested by anything, so 103 # cus-load and finder-inf are not explicitly requested by anything, so
104 # we add them here to make sure they get built. 104 # we add them here to make sure they get built.
105 all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el 105 all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el
106 @: Let us check that we byte-compiled all the files. 106 @: Let us check that we byte-compiled all the files.
107 $(MAKE) $(MFLAGS) compile-last 107 $(MAKE) $(MFLAGS) compile-last
108 108
109 doit: 109 doit:
110 110
111 # custom-deps and finder-data both used to scan _all_ the *.el files. 111 # custom-deps and finder-data both used to scan _all_ the *.el files.
112 # Now they avoid auto-generated files, which should avoid this 112 # This could lead to problems in parallel builds if automatically
113 # historical problem: 113 # generated *.el files (eg loaddefs etc) were being changed at the same time.
114 # In parallel builds, they should not run at the same time as anything
115 # else that might modify any .el files, eg autoloads (or each other).
116 # One solution was to add autoloads as a prerequisite: 114 # One solution was to add autoloads as a prerequisite:
117 # http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-01/msg00469.html 115 # http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-01/msg00469.html
118 # http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00171.html 116 # http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00171.html
119 # However, this means that running these targets modifies loaddefs.el, 117 # However, this meant that running these targets modified loaddefs.el,
120 # every time (due to time-stamping). Calling these rules from 118 # every time (due to time-stamping). Calling these rules from
121 # bootstrap-after would modify loaddefs after src/emacs, resulting 119 # bootstrap-after would modify loaddefs after src/emacs, resulting
122 # in make install remaking src/emacs for no real reason: 120 # in make install remaking src/emacs for no real reason:
123 # http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00311.html 121 # http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00311.html
122 # Nowadays these commands don't scan automatically generated files,
123 # since they will never contain any useful information
124 # (see finder-no-scan-regexp and custom-dependencies-no-scan-regexp).
124 $(lisp)/cus-load.el: 125 $(lisp)/cus-load.el:
125 $(MAKE) $(MFLAGS) custom-deps 126 $(MAKE) $(MFLAGS) custom-deps
126 custom-deps: doit 127 custom-deps: doit
127 wd=$(lisp); $(setwins_almost); \ 128 wd=$(lisp); $(setwins_almost); \
128 echo Directories: $$wins; \ 129 echo Directories: $$wins; \