]> git.eshelyaron.com Git - emacs.git/commitdiff
* makefile.w32-in (WINS_UPDATES): New macro.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 7 Oct 2009 09:31:32 +0000 (09:31 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 7 Oct 2009 09:31:32 +0000 (09:31 +0000)
  (custom-deps, finder-data, autoloads): Use it.

lisp/ChangeLog
lisp/makefile.w32-in

index d6610f6e34bb80b6a2dc96657c3d996c49e043ef..cf0fab71488bf2fc6f430fd0be620e5801460c96 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * makefile.w32-in (WINS_UPDATES): New macro.
+       (custom-deps, finder-data, autoloads): Use it.
+
 2009-10-07  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (autoloads): Revert previous change.
index ed1b8906fecd1834bc3e5c9dff540f0c8676e3aa..591678d5127fd35e95dcd3335d670425fae8effc 100644 (file)
@@ -118,12 +118,19 @@ WINS_BASIC=\
        textmodes \
        url
 
+# Directories with lisp files to compile
 WINS_ALMOST=$(WINS_BASIC) \
        $(WINS_CEDET)
 
+# Directories to extract data from (customs, autoloads, etc.)
+WINS_UPDATES=$(WIN_ALMOST) \
+       $(WINS_CEDET_SUBDIRS)
+
+# Directories to add to subdirs.el
 WINS_SUBDIR=$(WINS_BASIC) \
        obsolete
 
+# All directories, except CEDET subdirs
 WINS= $(WINS_ALMOST) \
        term \
        obsolete
@@ -158,12 +165,13 @@ $(lisp)/cus-load.el:
 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
 #          this can break with GNU Make 3.81 and later if sh.exe is used.
 custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit
-       @echo Directories: $(WINS_ALMOST)
-       -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS_ALMOST)
+       @echo Directories: $(WINS_UPDATES)
+       -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) \
+                 -f custom-make-dependencies $(lisp) $(WINS_UPDATES)
 
 finder-data: $(lisp)/loaddefs.el doit
-       @echo Directories: $(WINS_ALMOST)
-       $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_ALMOST)
+       @echo Directories: $(WINS_UPDATES)
+       $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_UPDATES)
 
 $(lisp)/loaddefs.el:
        $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE)
@@ -203,10 +211,10 @@ loaddefs.el-CMD:
 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
 #          this can break with GNU Make 3.81 and later if sh.exe is used.
 autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit
-       @echo Directories: . $(WINS_ALMOST)
+       @echo Directories: . $(WINS_UPDATES)
        $(emacs) -l autoload \
                --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
-               -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST)
+               -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_UPDATES)
 
 $(lisp)/subdirs.el:
        $(MAKE) $(MFLAGS) update-subdirs
@@ -423,7 +431,7 @@ bootstrap-clean-CMD:
 bootstrap-clean-SH:
 #      if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi
 #      -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
-       -for dir in . $(WINS)  $(WINS_CEDET_SUBDIRS); do rm -f $$dir/*.elc $$dir/*/*.elc $$dir/*/*/*.elc; done
+       -for dir in . $(WINS) $(WINS_CEDET_SUBDIRS); do rm -f $$dir/*.elc $$dir/*/*.elc $$dir/*/*/*.elc; done
 
 # Generate/update files for the bootstrap process.
 # When done, remove bootstrap-emacs from ../bin, so that