diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-07 03:42:47 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-07 03:42:47 +0000 |
commit | 9174184175254dc30c234711796f03eba78fdb54 (patch) | |
tree | 0fdb955576fa1388164e25d429dc4ca186949d7b /make-dist | |
parent | e88dcae1bf74204385df909b9f0c384d9d764680 (diff) | |
download | emacs-9174184175254dc30c234711796f03eba78fdb54.tar.gz |
Set up real-leim subdirectory,
with the real contents of leim; then move it to
a separate top-level directory.
Initialize a `leim' subdirectory with leim-Makefile.in.
Don't mention site-lisp, site-init, site-start
or default, when listing files hat are not compiled and should be.
Diffstat (limited to 'make-dist')
-rwxr-xr-x | make-dist | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/make-dist b/make-dist index 464b2f0f1de..2fa3c31fbaa 100755 --- a/make-dist +++ b/make-dist @@ -160,10 +160,13 @@ losers="`comm -23 /tmp/el /tmp/elc`" bogosities= for file in $losers; do if ! grep -q "dontcompilefiles:.* $file\($\| \)" lisp/Makefile; then - bogosities="$file $bogosities" + if [ "$file" != site-init.el ] && [ "$file" != site-load.el ] \ + && [ "$file" != site-start.el ] && [ "$file" != default.el ]; then + bogosities="$file $bogosities" + fi fi done -if [ "${bogosities}" != "" ]; then +if [ x"${bogosities}" != x"" ]; then echo "The following .el files have no corresponding .elc files:" echo "${bogosities}" fi @@ -240,13 +243,17 @@ echo "Updating version number in README" echo "Creating subdirectories" -for subdir in lisp site-lisp \ +for subdir in lisp site-lisp leim real-leim real-leim/CXTERM-DIC \ + real-leim/SKK real-leim/skk real-leim/quail \ src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet \ etc etc/e lock cpp info man msdos vms; do mkdir ${tempdir}/${subdir} done +echo "Initializing \`leim' subdirectory" +cp leim-Makefile.in ${tempdir}/leim/Makefile.in + echo "Making links to \`lisp' and its subdirectories" ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el. (cd lisp @@ -288,6 +295,23 @@ echo "Making links to \`lisp' and its subdirectories" rm -f $file/=* $file/TAGS done ) +echo "Making links to \`leim' and its subdirectories for the LEIM distribution" +### Don't distribute TAGS, or =*.el files. +(cd leim + ln Makefile.in makefile.nt ../${tempdir}/real-leim + ln ChangeLog.? README ../${tempdir}/real-leim + + ln CXTERM-DIC/*.tit ../${tempdir}/real-leim/CXTERM-DIC + ln SKK/README SKK/SKK-JISYO.L ../${tempdir}/real-leim/SKK + ln skk/*.el skk/*.elc ../${tempdir}/real-leim/skk + ln quail/*.el quail/*.elc ../${tempdir}/real-leim/quail + + cd ../${tempdir}/real-leim + rm -f TAGS =* */=*) + +### Move the real-leim directory outside of Emacs proper. +(cd ${tempparent}; mv ${emacsname}/real-leim ${emacsname}-leim) + echo "Making links to \`src'" ### Don't distribute =*.[ch] files, or the configured versions of ### config.in, paths.in, or Makefile.in, or TAGS. @@ -515,17 +539,20 @@ if [ "${make_tar}" = yes ]; then compress* ) gzip_extension=.Z ;; * ) gzip_extension=.gz ;; esac - echo "Creating tar file" + echo "Creating tar files" (cd ${tempparent} ; tar cvf - ${emacsname} ) \ | ${default_gzip} \ > ${emacsname}.tar${gzip_extension} + (cd ${tempparent} ; tar cvf - ${emacsname}-leim ) \ + | ${default_gzip} \ + > ${emacsname}-leim.tar${gzip_extension} fi if [ "${clean_up}" = yes ]; then echo "Cleaning up the staging directory" rm -rf ${tempparent} else - (cd ${tempparent}; mv ${emacsname} ..) + (cd ${tempparent}; mv ${emacsname} ${emacsname}-leim ..) rm -rf ${tempparent} fi |