diff options
| author | Glenn Morris | 2008-05-24 02:27:02 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-05-24 02:27:02 +0000 |
| commit | 00609773f64708a7415658376de69032ef0d4162 (patch) | |
| tree | d5a759389718f65ca7be01f044f055ba8e960c95 | |
| parent | 0fc438b827c3a008acff7d8f85536cb0d4e537a9 (diff) | |
| download | emacs-00609773f64708a7415658376de69032ef0d4162.tar.gz emacs-00609773f64708a7415658376de69032ef0d4162.zip | |
(update-elclist): New target, to update ELCFILES.
(bootstrap-after): Run update-elclist.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/Makefile.in | 30 |
2 files changed, 39 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1cc72d5b2df..a00d3264283 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2008-05-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (update-elclist): New target, to update ELCFILES. | ||
| 4 | (bootstrap-after): Run update-elclist. | ||
| 5 | |||
| 6 | 2008-05-24 Ulf Jasper <ulf.jasper@web.de> | ||
| 7 | |||
| 8 | * icalendar.el (icalendar-version): Increase to "0.19". | ||
| 9 | (icalendar--date-style): New function. | ||
| 10 | (icalendar--datetime-to-diary-date): Doc fix. | ||
| 11 | Use icalendar--date-style. | ||
| 12 | (icalendar--datestring-to-isodate): Doc fix. Handle iso date style. | ||
| 13 | (icalendar--convert-yearly-to-ical): | ||
| 14 | (icalendar--convert-recurring-to-diary): Handle iso date style, | ||
| 15 | use icalendar-date-style. | ||
| 16 | |||
| 1 | 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu> | 17 | 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 18 | ||
| 3 | * vc.el (vc-delete-file): Make sure the buffer is deleted and | 19 | * vc.el (vc-delete-file): Make sure the buffer is deleted and |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 20de2e70377..3bec86421ce 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -149,15 +149,31 @@ TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) | |||
| 149 | els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \ | 149 | els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \ |
| 150 | ${ETAGS} -o $@ $$els | 150 | ${ETAGS} -o $@ $$els |
| 151 | 151 | ||
| 152 | .PHONY: update-elclist | ||
| 153 | |||
| 154 | ## Construct a sed command file that operates on lines between | ||
| 155 | ## ^ELCFILES and the next blank line. Convert spaces between members | ||
| 156 | ## of COMPILE_FIRST to "\|", and escape directory "/". List the .elc | ||
| 157 | ## files, exclude the members of COMPILE_FIRST, convert ^$(lisp) to a | ||
| 158 | ## literal " $(lisp)", add trailing " \\\" to the end of every line | ||
| 159 | ## (the last \ continues the line in sed, the other \\ result in a | ||
| 160 | ## single \ at the end of the replacement text). For the last line, | ||
| 161 | ## just use a single "\", for sed. Finally, run sed using the command | ||
| 162 | ## so constructed and update Makefile.in. chmod +w is for CVSREAD=1. | ||
| 163 | update-elclist: | ||
| 164 | echo "/^ELCFILES/,/^$$/c\\" > temp.sed | ||
| 165 | echo "ELCFILES = \\\\\\" >> temp.sed | ||
| 166 | exclude=`echo $(COMPILE_FIRST) | sed -e 's, ,\\\\|,g' -e 's,\/,\\\\/,g'`; \ | ||
| 167 | ls $(lisp)/*.elc $(lisp)/*/*.elc | sed -e "/$$exclude/d" -e "s|^$(lisp)| \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed | ||
| 168 | echo "" >> temp.sed | ||
| 169 | sed -f temp.sed $(lisp)/Makefile.in > temp-elcfiles || { rm temp-elcfiles temp.sed; exit 1 ; } | ||
| 170 | rm temp.sed | ||
| 171 | chmod +w $(lisp)/Makefile.in | ||
| 172 | mv -f temp-elcfiles $(lisp)/Makefile.in | ||
| 152 | 173 | ||
| 153 | ## Explicitly list the .elc files, for the sake of parallel builds. | 174 | ## Explicitly list the .elc files, for the sake of parallel builds. |
| 154 | ## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html | 175 | ## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html |
| 155 | ## This can be done more elegantly, but needs to be portable. | 176 | ## This can probably be done more elegantly, but needs to be portable. |
| 156 | ## This list generated by (after bootstrapping): | ||
| 157 | ## ls $lisp/*.elc $lisp/*/*.elc | sed -e "s|^$lisp| \$(lisp)|" -e 's/$/ \\/' | ||
| 158 | ## and then excluding the members of COMPILE_FIRST. | ||
| 159 | ## FIXME find a way to automatically update this list in Makefile.in | ||
| 160 | ## after bootstrap. | ||
| 161 | ELCFILES = \ | 177 | ELCFILES = \ |
| 162 | $(lisp)/abbrev.elc \ | 178 | $(lisp)/abbrev.elc \ |
| 163 | $(lisp)/abbrevlist.elc \ | 179 | $(lisp)/abbrevlist.elc \ |
| @@ -1397,7 +1413,7 @@ bootstrap: update-subdirs autoloads compile | |||
| 1397 | # Generate/update files after the bootstrap process. | 1413 | # Generate/update files after the bootstrap process. |
| 1398 | # custom-deps needs `preloaded-file-list'. | 1414 | # custom-deps needs `preloaded-file-list'. |
| 1399 | 1415 | ||
| 1400 | bootstrap-after: finder-data custom-deps | 1416 | bootstrap-after: finder-data custom-deps update-elclist |
| 1401 | 1417 | ||
| 1402 | distclean: | 1418 | distclean: |
| 1403 | -rm -f ./Makefile | 1419 | -rm -f ./Makefile |