diff options
author | Glenn Morris <rgm@gnu.org> | 2011-04-05 19:13:16 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-04-05 19:13:16 -0700 |
commit | c0274801eeb2f5307f4f695b7ed0c521d466f726 (patch) | |
tree | 27a9861dc307f60478c184651c405806c07ecf05 /lisp/Makefile.in | |
parent | 3f0f17000d1e4f5adca285ab28c67c1de86589f3 (diff) | |
download | emacs-c0274801eeb2f5307f4f695b7ed0c521d466f726.tar.gz |
Make update_autogen handle loaddefs-like files as well.
* autogen/update_autogen: (usage): Add -l, -C.
(clean, ldefs_flag, ldefs_in, ldefs_out): New variables.
With -l, check status of lisp/ as well.
With -C, clean before building.
(autoreconf): Only pass -f in the `clean' case.
(commit): New function.
* lisp/Makefile.in (AUTOGEN_VCS): New variable.
(autoloads): Use $AUTOGEN_VCS.
* .bzrignore: Tighten up ignore patterns (for autogen/).
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r-- | lisp/Makefile.in | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 083f312d613..d4ff6a4384b 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -70,6 +70,18 @@ AUTOGENEL = loaddefs.el \ cedet/ede/loaddefs.el \ cedet/srecode/loaddefs.el +# Versioned files that are the value of someone's `generated-autoload-file'. +# Note that update_loaddefs parses this. +AUTOGEN_VCS = \ + ps-print.el \ + emulation/tpu-edt.el \ + emacs-lisp/cl-loaddefs.el \ + mail/rmail.el \ + dired.el \ + ibuffer.el \ + htmlfontify.el \ + emacs-lisp/eieio.el + # Value of max-lisp-eval-depth when compiling initially. # During bootstrapping the byte-compiler is run interpreted when compiling # itself, and uses more stack than usual. @@ -153,13 +165,9 @@ finder-data: doit echo Directories: $$wins; \ $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins -# The chmod +w is to handle env var CVSREAD=1. Files named -# are identified by being the value of `generated-autoload-file'. +# The chmod +w is to handle env var CVSREAD=1. autoloads: $(LOADDEFS) doit - chmod +w $(lisp)/ps-print.el $(lisp)/emulation/tpu-edt.el \ - $(lisp)/emacs-lisp/cl-loaddefs.el $(lisp)/mail/rmail.el \ - $(lisp)/dired.el $(lisp)/ibuffer.el $(lisp)/htmlfontify.el \ - $(lisp)/emacs-lisp/eieio.el + cd $(lisp) && chmod +w $(AUTOGEN_VCS) cd $(lisp); $(setwins_almost); \ echo Directories: $$wins; \ $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins |