]> code.delx.au - gnu-emacs/blobdiff - make-dist
Copy COPYING to leim/, lwlib/, mac/ and nt/ when creating distribution.
[gnu-emacs] / make-dist
index 06785c6d9e2b182f7f4aa5eaff17a85f566bfada..43a7807153e5826b04c8e225fc675505511886ab 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -241,6 +241,8 @@ if [ $update = yes ];
 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")
@@ -287,8 +289,8 @@ 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 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}
@@ -306,7 +308,7 @@ echo "Updating version number in README"
 
 
 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 \
@@ -436,7 +438,7 @@ echo "Making links to \`src'"
    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
@@ -483,10 +485,10 @@ 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 subdirs.el ../${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
@@ -547,6 +549,7 @@ echo "Making links to \`lwlib'"
 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
@@ -567,7 +570,7 @@ echo "Making links to \`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)
 
@@ -599,6 +602,28 @@ 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
+ 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
@@ -607,14 +632,10 @@ echo "Making links to \`vms'"
 
 ### It would be nice if they could all be symlinks to etc's 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