(custom-deps, finder-data): Depend on autoloads instead of loaddefs.el.
authorEli Zaretskii <eliz@gnu.org>
Sat, 5 Jan 2008 16:10:26 +0000 (16:10 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 Jan 2008 16:10:26 +0000 (16:10 +0000)
lisp/ChangeLog
lisp/Makefile.in

index 27f4252..037ec68 100644 (file)
@@ -1,4 +1,9 @@
-2007-01-05  Glenn Morris  <rgm@gnu.org>
+2008-01-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (custom-deps, finder-data): Depend on autoloads
+       instead of loaddefs.el.
+
+2008-01-05  Glenn Morris  <rgm@gnu.org>
 
        * progmodes/verilog-mode.el: Replace all instances of
        string-to-int with string-to-number, insert-string with insert,
index 59a81d7..d59ba38 100644 (file)
@@ -87,12 +87,16 @@ doit:
 
 $(lisp)/cus-load.el:
        touch $@
-custom-deps: $(lisp)/subdirs.el $(lisp)/loaddefs.el $(lisp)/cus-load.el doit
+# Note that custom-deps and finder-data depend on autoloads rather
+# than on loaddefs.el, so that autoloads does not run in parallel with
+# them under "make -j", because that could delete loaddefs.el from
+# under their feet.
+custom-deps: $(lisp)/subdirs.el autoloads $(lisp)/cus-load.el doit
        wd=$(lisp); $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins
 
-finder-data: $(lisp)/subdirs.el $(lisp)/loaddefs.el doit
+finder-data: $(lisp)/subdirs.el autoloads doit
        wd=$(lisp); $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins