]> code.delx.au - gnu-emacs/blobdiff - make-dist
Fringe cleanup.
[gnu-emacs] / make-dist
index f374dc3c5f53f90c84ed1bb676d31580f5466e46..c74ffa501fc60ca2babded950a7582b7e869075f 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -33,6 +33,12 @@ progname="$0"
 ### 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
 
@@ -235,6 +241,7 @@ if [ $update = yes ];
 then
   echo "Updating Info files"
   (cd man; make -f Makefile.in srcdir=. info)
+  (cd lispref; make -f Makefile.in srcdir=. info)
 
   echo "Updating finder, custom and autoload data"
   (cd lisp; make updates EMACS="$EMACS")
@@ -281,7 +288,7 @@ mkdir ${tempdir}
 ### 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 AUTHORS FTP INSTALL README BUGS move-if-change ${tempdir}
 ln ChangeLog Makefile.in configure configure.in aclocal.m4 ${tempdir}
 ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
 ### Copy these files; they're cross-filesystem symlinks.
@@ -300,7 +307,7 @@ echo "Updating version number in README"
 
 
 echo "Creating subdirectories"
-for subdir in lisp site-lisp \
+for subdir in lisp site-lisp lispref \
              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 \
@@ -478,7 +485,7 @@ echo "Making links to \`lib-src'"
 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 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)
 
@@ -593,6 +600,16 @@ echo "Making links to \`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
+ 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 \`vms'"
 (cd vms
  test -f README && ln README ../${tempdir}/vms