aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2011-04-05 19:13:16 -0700
committerGlenn Morris2011-04-05 19:13:16 -0700
commitc0274801eeb2f5307f4f695b7ed0c521d466f726 (patch)
tree27a9861dc307f60478c184651c405806c07ecf05 /lisp
parent3f0f17000d1e4f5adca285ab28c67c1de86589f3 (diff)
downloademacs-c0274801eeb2f5307f4f695b7ed0c521d466f726.tar.gz
emacs-c0274801eeb2f5307f4f695b7ed0c521d466f726.zip
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')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/Makefile.in20
2 files changed, 17 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 072f35e528a..856cb05cb8c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-04-06 Glenn Morris <rgm@gnu.org> 12011-04-06 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (AUTOGEN_VCS): New variable.
4 (autoloads): Use $AUTOGEN_VCS.
5
3 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function. 6 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
4 * calendar/calendar.el (calendar-mode-map): 7 * calendar/calendar.el (calendar-mode-map):
5 Check for toolkit scroll bars. (Bug#8305) 8 Check for toolkit scroll bars. (Bug#8305)
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 \
70 cedet/ede/loaddefs.el \ 70 cedet/ede/loaddefs.el \
71 cedet/srecode/loaddefs.el 71 cedet/srecode/loaddefs.el
72 72
73# Versioned files that are the value of someone's `generated-autoload-file'.
74# Note that update_loaddefs parses this.
75AUTOGEN_VCS = \
76 ps-print.el \
77 emulation/tpu-edt.el \
78 emacs-lisp/cl-loaddefs.el \
79 mail/rmail.el \
80 dired.el \
81 ibuffer.el \
82 htmlfontify.el \
83 emacs-lisp/eieio.el
84
73# Value of max-lisp-eval-depth when compiling initially. 85# Value of max-lisp-eval-depth when compiling initially.
74# During bootstrapping the byte-compiler is run interpreted when compiling 86# During bootstrapping the byte-compiler is run interpreted when compiling
75# itself, and uses more stack than usual. 87# itself, and uses more stack than usual.
@@ -153,13 +165,9 @@ finder-data: doit
153 echo Directories: $$wins; \ 165 echo Directories: $$wins; \
154 $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins 166 $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins
155 167
156# The chmod +w is to handle env var CVSREAD=1. Files named 168# The chmod +w is to handle env var CVSREAD=1.
157# are identified by being the value of `generated-autoload-file'.
158autoloads: $(LOADDEFS) doit 169autoloads: $(LOADDEFS) doit
159 chmod +w $(lisp)/ps-print.el $(lisp)/emulation/tpu-edt.el \ 170 cd $(lisp) && chmod +w $(AUTOGEN_VCS)
160 $(lisp)/emacs-lisp/cl-loaddefs.el $(lisp)/mail/rmail.el \
161 $(lisp)/dired.el $(lisp)/ibuffer.el $(lisp)/htmlfontify.el \
162 $(lisp)/emacs-lisp/eieio.el
163 cd $(lisp); $(setwins_almost); \ 171 cd $(lisp); $(setwins_almost); \
164 echo Directories: $$wins; \ 172 echo Directories: $$wins; \
165 $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins 173 $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins