diff options
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/grammars/Makefile.in | 13 | ||||
| -rwxr-xr-x | admin/update_autogen | 12 |
2 files changed, 14 insertions, 11 deletions
diff --git a/admin/grammars/Makefile.in b/admin/grammars/Makefile.in index 35ce55461f3..4172411e034 100644 --- a/admin/grammars/Makefile.in +++ b/admin/grammars/Makefile.in | |||
| @@ -51,14 +51,11 @@ BOVINE = \ | |||
| 51 | ${bovinedir}/make-by.el \ | 51 | ${bovinedir}/make-by.el \ |
| 52 | ${bovinedir}/scm-by.el | 52 | ${bovinedir}/scm-by.el |
| 53 | 53 | ||
| 54 | ## FIXME Should include this one too: | 54 | WISENT = \ |
| 55 | ## ${cedetdir}/semantic/grammar-wy.el | 55 | ${cedetdir}/semantic/grammar-wy.el \ |
| 56 | ## but semantic/grammar.el (which is what we use to generate grammar-wy.el) | 56 | ${wisentdir}/javat-wy.el \ |
| 57 | ## requires it! https://debbugs.gnu.org/16008 | 57 | ${wisentdir}/js-wy.el \ |
| 58 | WISENT = \ | 58 | ${wisentdir}/python-wy.el \ |
| 59 | ${wisentdir}/javat-wy.el \ | ||
| 60 | ${wisentdir}/js-wy.el \ | ||
| 61 | ${wisentdir}/python-wy.el \ | ||
| 62 | ${cedetdir}/srecode/srt-wy.el | 59 | ${cedetdir}/srecode/srt-wy.el |
| 63 | 60 | ||
| 64 | ALL = ${BOVINE} ${WISENT} | 61 | ALL = ${BOVINE} ${WISENT} |
diff --git a/admin/update_autogen b/admin/update_autogen index 35c391da19e..11c4313ae37 100755 --- a/admin/update_autogen +++ b/admin/update_autogen | |||
| @@ -317,7 +317,7 @@ EOF | |||
| 317 | echo "Finding loaddef targets..." | 317 | echo "Finding loaddef targets..." |
| 318 | 318 | ||
| 319 | find lisp -name '*.el' -exec grep '^;.*generated-autoload-file:' {} + | \ | 319 | find lisp -name '*.el' -exec grep '^;.*generated-autoload-file:' {} + | \ |
| 320 | sed -e '/loaddefs\|esh-groups/d' -e 's|/[^/]*: "|/|' -e 's/"//g' \ | 320 | sed -e '/loaddefs\|esh-groups/d' -e 's|/[^/]*: "|/|' -e 's/"//g' \ |
| 321 | >| $tempfile || die "Error finding targets" | 321 | >| $tempfile || die "Error finding targets" |
| 322 | 322 | ||
| 323 | genfiles= | 323 | genfiles= |
| @@ -363,17 +363,23 @@ make -C lisp "$@" autoloads EMACS=../src/bootstrap-emacs || die "make src error" | |||
| 363 | 363 | ||
| 364 | 364 | ||
| 365 | ## Ignore comment differences. | 365 | ## Ignore comment differences. |
| 366 | [ ! "$lboot_flag" ] || \ | 366 | [ ! "$lboot_flag" ] || \ |
| 367 | diff -q -I '^;' $ldefs_in $ldefs_out || \ | 367 | diff -q -I '^;' $ldefs_in $ldefs_out || \ |
| 368 | cp $ldefs_in $ldefs_out || die "cp ldefs_boot error" | 368 | cp $ldefs_in $ldefs_out || die "cp ldefs_boot error" |
| 369 | 369 | ||
| 370 | # Refresh the prebuilt grammar-wy.el | ||
| 371 | grammar_in=lisp/cedet/semantic/grammar-wy.el | ||
| 372 | grammar_out=lisp/cedet/semantic/grm-wy-boot.el | ||
| 373 | make -C admin/grammars/ ../../$grammar_in | ||
| 374 | cp $grammar_in $grammar_out || die "cp grm_wy_boot error" | ||
| 375 | |||
| 370 | 376 | ||
| 371 | echo "Checking status of loaddef files..." | 377 | echo "Checking status of loaddef files..." |
| 372 | 378 | ||
| 373 | ## It probably would be fine to just check+commit lisp/, since | 379 | ## It probably would be fine to just check+commit lisp/, since |
| 374 | ## making autoloads should not effect any other files. But better | 380 | ## making autoloads should not effect any other files. But better |
| 375 | ## safe than sorry. | 381 | ## safe than sorry. |
| 376 | modified=$(status $genfiles $ldefs_out) || die | 382 | modified=$(status $genfiles $ldefs_out $grammar_out) || die |
| 377 | 383 | ||
| 378 | 384 | ||
| 379 | commit "loaddefs" $modified || die "commit error" | 385 | commit "loaddefs" $modified || die "commit error" |