### Print out each line we read, for debugging's sake.
#set -v
+LANGUAGE=C
+LC_ALL=C
+LC_MESSAGES=
+LANG=
+export LANGUAGE LC_ALL LC_MESSAGES LANG
+
## Don't restrict access to any files.
umask 0
then
echo "Updating Info files"
(cd man; make -f Makefile.in srcdir=. info)
+ (cd lispref; make -f Makefile.in srcdir=. info)
+ (cd lispintro; make -f Makefile.in srcdir=. info)
echo "Updating finder, custom and autoload data"
(cd lisp; make updates EMACS="$EMACS")
### tar file; this means that people can start reading the INSTALL and
### README while the rest of the tar file is still unpacking. Whoopee.
echo "Making links to top-level files"
-ln FTP INSTALL README BUGS move-if-change ${tempdir}
-ln ChangeLog Makefile.in configure configure.in aclocal.m4 ${tempdir}
+ln AUTHORS FTP INSTALL README BUGS move-if-change ${tempdir}
+ln ChangeLog Makefile.in configure configure.in ${tempdir}
ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
### Copy these files; they're cross-filesystem symlinks.
cp mkinstalldirs ${tempdir}
echo "Creating subdirectories"
-for subdir in lisp site-lisp \
+for subdir in lisp site-lisp lispref lispintro \
leim real-leim real-leim/CXTERM-DIC real-leim/MISC-DIC \
real-leim/SKK-DIC real-leim/ja-dic real-leim/quail \
src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
fi
done
ln README ChangeLog ChangeLog.*[0-9] ../${tempdir}/src
- ln makefile.nt makefile.w32-in vms-pp.trans ../${tempdir}/src
+ ln makefile.nt makefile.w32-in ../${tempdir}/src
ln .gdbinit .dbxinit ../${tempdir}/src
cd ../${tempdir}/src
rm -f config.h epaths.h Makefile Makefile.c
echo "Making links to \`nt'"
(cd nt
- ln emacs.rc config.nt [a-z]*.in [a-z]*.c ../${tempdir}/nt
- ln _emacs nmake.defs gmake.defs ../${tempdir}/nt
+ ln emacs.rc config.nt [a-z]*.c ../${tempdir}/nt
+ ln nmake.defs gmake.defs subdirs.el ../${tempdir}/nt
ln [a-z]*.bat [a-z]*.h makefile.def makefile.nt ../${tempdir}/nt
- ln TODO ChangeLog INSTALL README makefile.w32-in ../${tempdir}/nt)
+ ln ChangeLog INSTALL README makefile.w32-in ../${tempdir}/nt)
echo "Making links to \`nt/inc'"
(cd nt/inc
echo "Making links to \`etc'"
### Don't distribute = files, TAGS, DOC files, backups, autosaves, or
### tex litter.
+### Don't distribute gfdl.1, since no man page references it.
(cd etc
files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$'`
ln $files ../${tempdir}/etc
fi
done
cd ../${tempdir}/etc
- rm -f fns*.el
+ rm -f fns*.el gfdl.1
rm -f DOC* *~ \#*\# *.dvi *.log *.orig *.rej *,v =* core
rm -f TAGS)
test -f Makefile.in && ln Makefile.in ../${tempdir}/man
ln ChangeLog ../${tempdir}/man
test -f split-man && ln split-man ../${tempdir}/man
- test -f texinfo.tex && cp texinfo.tex ../${tempdir}/man
+ cp texinfo.tex ../${tempdir}/man
cd ../${tempdir}/man
rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail
rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux)
+echo "Making links to \`lispref'"
+(cd lispref
+ ln *.texi *.aux *.cps *.fns *.kys *.vrs index.*perm ../${tempdir}/lispref
+ ln *.txt *.el spellfile permute-index tindex.pl ../${tempdir}/lispref
+ test -f README && ln README ../${tempdir}/lispref
+ test -f Makefile.in && ln Makefile.in ../${tempdir}/lispref
+ ln ChangeLog ../${tempdir}/lispref
+ cd ../${tempdir}/lispref
+ rm -f \#*\# =* *~ core elisp-index* *.Z *.z xmail
+ rm -f elisp.?? *.log *.toc *.dvi *.oaux)
+
+echo "Making links to \`lispintro'"
+(cd lispintro
+ ln *.texi *.aux *.cps *.fns *.kys *.vrs *.eps ../${tempdir}/lispintro
+ test -f texinfo.tex && ln texinfo.tex ../${tempdir}/lispintro
+ test -f README && ln README ../${tempdir}/lispintro
+ test -f Makefile.in && ln Makefile.in ../${tempdir}/lispintro
+ ln ChangeLog ../${tempdir}/lispintro
+ cd ../${tempdir}/lispintro
+ rm -f \#*\# =* *~ core *.Z *.z xmail
+ rm -f emacs-lisp-intro.?? *.log *.toc *.dvi *.oaux)
+
echo "Making links to \`vms'"
(cd vms
test -f README && ln README ../${tempdir}/vms
cd ../${tempdir}/vms
rm -f *~)
-### It would be nice if they could all be symlinks to etc's copy, but
+### It would be nice if they could all be symlinks to top-level copy, but
### you're not supposed to have any symlinks in distribution tar files.
-echo "Making sure copying notices are all copies of \`etc/COPYING'"
-rm -f ${tempdir}/etc/COPYING
-cp etc/COPYING ${tempdir}/etc/COPYING
-for subdir in lisp src lib-src info msdos; do
- if [ -f ${tempdir}/${subdir}/COPYING ]; then
- rm ${tempdir}/${subdir}/COPYING
- fi
- cp etc/COPYING ${tempdir}/${subdir}
+echo "Making sure copying notices are all copies of \`COPYING'"
+for subdir in . etc info leim lib-src lisp lwlib mac msdos nt src; do
+ rm -f ${tempdir}/${subdir}/COPYING
+ cp COPYING ${tempdir}/${subdir}
done
#### Make sure that there aren't any hard links between files in the