diff options
| author | Glenn Morris | 2013-11-26 22:15:06 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-11-26 22:15:06 -0800 |
| commit | cb6c95a394d9a9d2f068bf8ee240f2d2297867d1 (patch) | |
| tree | 6da24e3ad26db4ab42d800dd78feea2eee3d79d9 /make-dist | |
| parent | 4cbac8e94b68297189524f2db456c776bda4ed69 (diff) | |
| download | emacs-cb6c95a394d9a9d2f068bf8ee240f2d2297867d1.tar.gz emacs-cb6c95a394d9a9d2f068bf8ee240f2d2297867d1.zip | |
Move runtime leim lisp files to lisp/leim directory
This allows us to reuse much of the lisp build and installation machinery,
rather than duplicating it.
* Makefile.in (abs_builddir, leimdir): Remove.
(buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
(epaths-force-w32): No longer set BLD.
(leim): Remove.
(install-arch-indep): No longer run or install leim.
(mostlyclean, clean): No longer run leim rule.
(bootstrap-clean): Change leim target.
(maintainer-clean): Add leim.
(check-declare): Remove leim.
* README: Update for leim changes.
* configure.ac (leimdir): Remove.
(standardlisppath): No more leimdir.
* make-dist: Update for files from leim/ now being in lisp/leim/.
* doc/lispref/loading.texi (Library Search):
* doc/lispref/os.texi (Startup Summary): No more leim directory.
* leim/Makefile.in (leimdir): New variable.
(TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc)
(${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
Generate in $leimdir.
(all): Remove compilation, add ja-dic.
(leim-list.el): Now PHONY.
(setwins, compile-targets, compile-main, clean, mostlyclean)
(extraclean): Remove.
(bootstrap-clean): Delete all generated files.
* leim/README: Update for moved leim/ directory.
* leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate):
Remove manual autoloads; now in loaddefs.el.
Disable byte-compile, version-control, autoloads in the output.
* lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory.
(compile-main): Depend on lisp/leim rule.
(leim): New rule.
* lisp/loadup.el: Move leim-list.el to leim/ subdirectory.
* lisp/startup.el (normal-top-level): No more leim directory.
* lisp/international/ja-dic-cnv.el (skkdic-convert):
Disable version-control and autoloads in output files.
* lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert):
Disable version-control and autoloads in output files.
* lisp/leim/quail: Move here from ../leim.
* lisp/leim/quail/hangul.el (hangul-input-method-activate):
Add autoload cookie.
(generated-autoload-load-name): Set file-local value.
* lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
(generated-autoload-load-name): Set file-local value.
* nt/README.W32:
* nt/addpm.c (env_vars):
* nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
* nt/paths.h (PATH_LOADSEARCH): No more leim directory.
* src/Makefile.in (leimdir): Now in lisp source directory.
($(leimdir)/leim-list.el): Just use ../leim .
* src/epaths.in (PATH_DUMPLOADSEARCH):
* src/lread.c (load_path_default):
* src/nsterm.m (ns_load_path): No more leim directory.
* .bzrignore: Update for relocated leim files.
Diffstat (limited to 'make-dist')
| -rwxr-xr-x | make-dist | 21 |
1 files changed, 5 insertions, 16 deletions
| @@ -201,13 +201,11 @@ fi | |||
| 201 | if [ $check = yes ]; then | 201 | if [ $check = yes ]; then |
| 202 | ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ | 202 | ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ |
| 203 | lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | 203 | lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ |
| 204 | lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | 204 | lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el > /tmp/el |
| 205 | leim/[a-z]*/[a-z]*.el > /tmp/el | ||
| 206 | 205 | ||
| 207 | ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ | 206 | ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ |
| 208 | lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc \ | 207 | lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc \ |
| 209 | lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc \ | 208 | lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc > /tmp/elc |
| 210 | leim/[a-z]*/[a-z]*.elc > /tmp/elc | ||
| 211 | 209 | ||
| 212 | ## Check for .elc files with no corresponding .el file. | 210 | ## Check for .elc files with no corresponding .el file. |
| 213 | sed 's/\.el$/.elc/' /tmp/el > /tmp/elelc | 211 | sed 's/\.el$/.elc/' /tmp/el > /tmp/elelc |
| @@ -262,7 +260,7 @@ if [ $update = yes ]; then | |||
| 262 | (cd leim && make leim-list.el EMACS="$EMACS") | 260 | (cd leim && make leim-list.el EMACS="$EMACS") |
| 263 | 261 | ||
| 264 | echo "Recompiling Lisp files" | 262 | echo "Recompiling Lisp files" |
| 265 | $EMACS -batch -f batch-byte-recompile-directory lisp leim | 263 | $EMACS -batch -f batch-byte-recompile-directory lisp |
| 266 | fi # $update = yes | 264 | fi # $update = yes |
| 267 | 265 | ||
| 268 | echo "Creating staging directory: \`${tempparent}'" | 266 | echo "Creating staging directory: \`${tempparent}'" |
| @@ -291,8 +289,7 @@ ln aclocal.m4 ${tempdir} | |||
| 291 | 289 | ||
| 292 | echo "Creating subdirectories" | 290 | echo "Creating subdirectories" |
| 293 | for subdir in site-lisp \ | 291 | for subdir in site-lisp \ |
| 294 | leim leim/CXTERM-DIC leim/MISC-DIC \ | 292 | leim leim/CXTERM-DIC leim/MISC-DIC leim/SKK-DIC \ |
| 295 | leim/SKK-DIC leim/ja-dic leim/quail \ | ||
| 296 | build-aux build-aux/snippet \ | 293 | build-aux build-aux/snippet \ |
| 297 | src src/bitmaps lib lib-src oldXMenu lwlib \ | 294 | src src/bitmaps lib lib-src oldXMenu lwlib \ |
| 298 | nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ | 295 | nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ |
| @@ -340,16 +337,8 @@ echo "Making links to \`leim' and its subdirectories" | |||
| 340 | ln CXTERM-DIC/README CXTERM-DIC/*.tit ../${tempdir}/leim/CXTERM-DIC | 337 | ln CXTERM-DIC/README CXTERM-DIC/*.tit ../${tempdir}/leim/CXTERM-DIC |
| 341 | ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/leim/SKK-DIC | 338 | ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/leim/SKK-DIC |
| 342 | ln MISC-DIC/README MISC-DIC/*.* ../${tempdir}/leim/MISC-DIC | 339 | ln MISC-DIC/README MISC-DIC/*.* ../${tempdir}/leim/MISC-DIC |
| 343 | ln ja-dic/*.el ja-dic/*.elc ../${tempdir}/leim/ja-dic | ||
| 344 | ln Makefile.in ../${tempdir}/leim/Makefile.in | 340 | ln Makefile.in ../${tempdir}/leim/Makefile.in |
| 345 | ln leim-ext.el ../${tempdir}/leim/leim-ext.el | 341 | ln leim-ext.el ../${tempdir}/leim/leim-ext.el) |
| 346 | ## Lisp files that start with a capital (also 4Corner.el) are | ||
| 347 | ## generated from TIT dictionaries so we don't distribute them. | ||
| 348 | ln quail/[a-z]*.el quail/[a-z]*.elc ../${tempdir}/leim/quail | ||
| 349 | rm -f ../${tempdir}/leim/quail/quick-b5.* | ||
| 350 | rm -f ../${tempdir}/leim/quail/quick-cns.* | ||
| 351 | rm -f ../${tempdir}/leim/quail/tsang-b5.* | ||
| 352 | rm -f ../${tempdir}/leim/quail/tsang-cns.*) | ||
| 353 | 342 | ||
| 354 | echo "Making links to \`build-aux'" | 343 | echo "Making links to \`build-aux'" |
| 355 | (cd build-aux | 344 | (cd build-aux |