mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
* update_autogen: Find loaddefs targets rather than parsing lisp/Makefile.in
* lisp/Makefile.in: Comment.
This commit is contained in:
parent
87ed944822
commit
f9bae01ee8
@ -1,3 +1,8 @@
|
||||
2014-06-30 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* update_autogen: Find loaddefs targets rather than
|
||||
parsing lisp/Makefile.in
|
||||
|
||||
2014-06-29 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* update_autogen: Remove need to cd into/out of lisp/.
|
||||
|
@ -322,15 +322,19 @@ EOF
|
||||
|
||||
echo "Finding loaddef targets..."
|
||||
|
||||
sed -n -e '/^AUTOGEN_VCS/,/^$/p' lisp/Makefile.in | \
|
||||
sed -e '/AUTOGEN_VCS/d' -e '/^$/d' -e 's/\\//' \
|
||||
>| $tempfile || die "sed error"
|
||||
find lisp -name '*.el' -exec grep '^;.*generated-autoload-file:' {} + | \
|
||||
sed -e '/loaddefs\|esh-groups/d' -e 's|/[^/]*: "|/|' -e 's/"//g' \
|
||||
>| $tempfile || die "Error finding targets"
|
||||
|
||||
genfiles=
|
||||
|
||||
while read genfile; do
|
||||
|
||||
genfile=lisp/$genfile
|
||||
## Or we can just use sort -u when making tempfile...
|
||||
case " $genfiles " in
|
||||
*" $genfile "*) continue ;;
|
||||
esac
|
||||
|
||||
[ -r $genfile ] || die "Unable to read $genfile"
|
||||
|
||||
genfiles="$genfiles $genfile"
|
||||
|
@ -71,7 +71,6 @@ AUTOGENEL = loaddefs.el \
|
||||
org/org-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 \
|
||||
obsolete/tpu-edt.el \
|
||||
|
Loading…
Reference in New Issue
Block a user