]> code.delx.au - gnu-emacs/blobdiff - make-dist
(NEED_UNISTD_H): Defined.
[gnu-emacs] / make-dist
index 29c5f7e1065b0c6c500cea7d6a6504067badd160..141b6d5e6a5974aed1ab1dcbe4c3a3c28514f0c9 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -167,11 +167,10 @@ echo "Updating version number in README."
 
 
 echo "Creating subdirectories."
-# I think we're not going to distribute anything in external-lisp, so
-# I've removed it from this list.
 for subdir in lisp lisp/term site-lisp \
              src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
-             etc lock cpp info man msdos shortnames vms; do
+             nt nt/inc nt/inc/sys nt/src \
+             etc etc/e lock cpp info man msdos shortnames vms; do
   mkdir ${tempdir}/${subdir}
 done
 
@@ -183,7 +182,7 @@ echo "Making links to \`lisp'."
  ln [a-zA-Z]*.dat ../${tempdir}/lisp
  ## simula.el doesn't keep abbreviations in simula.defns any more.
  ## ln [a-zA-Z]*.defns ../${tempdir}/lisp
- ln ChangeLog Makefile ChangeLog.? README dired.todo ../${tempdir}/lisp
+ ln ChangeLog Makefile makefile.nt ChangeLog.? README dired.todo ../${tempdir}/lisp
  cd ../${tempdir}/lisp
  rm -f TAGS =*
  rm -f site-init site-init.el site-init.elc
@@ -208,14 +207,6 @@ echo "Making links to \`lisp/term'."
  ln README ../../${tempdir}/lisp/term
  rm -f =* TAGS)
 
-### echo "Making links to \`external-lisp'."
-### ### Don't distribute =*.el files or TAGS.
-### (cd external-lisp
-###  ln [a-zA-Z]*.el ../${tempdir}/external-lisp
-###  ln [a-zA-Z]*.elc ../${tempdir}/external-lisp
-###  ln ChangeLog README ../${tempdir}/external-lisp
-###  rm -f =* TAGS)
-
 echo "Making links to \`src'."
 ### Don't distribute =*.[ch] files, or the configured versions of
 ### config.h.in, paths.h.in, or Makefile.in.in, or TAGS.
@@ -251,11 +242,27 @@ echo "Making links to \`lib-src'."
 (cd lib-src
  ln [a-zA-Z]*.[chy] [a-zA-Z]*.lex ../${tempdir}/lib-src
  ln ChangeLog Makefile.in.in README testfile vcdiff ../${tempdir}/lib-src
- ln emacs.csh rcs2log rcs-checkin ../${tempdir}/lib-src
+ ln emacs.csh rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src
  cd ../${tempdir}/lib-src
  rm -f getdate.tab.c y.tab.c y.tab.h
  rm -f =* TAGS)
 
+echo "Making links to \`nt'."
+(cd nt
+ ln [a-z]*.cmd makefile.* todo ChangeLog install readme ../${tempdir}/nt)
+
+echo "Making links to \`nt/inc'."
+(cd nt/inc
+ ln [a-z]*.h ../${tempdir}/nt/inc)
+
+echo "Making links to \`nt/inc/sys'."
+(cd nt/inc/sys
+ ln [a-z]*.h ../${tempdir}/nt/inc/sys)
+
+echo "Making links to \`nt/src'."
+(cd nt/src
+ ln [a-z]*.h ../${tempdir}/nt/src)
+
 echo "Making links to \`msdos'."
 (cd msdos
  ln  ChangeLog emacs.ico emacs.pif ../${tempdir}/msdos
@@ -283,6 +290,12 @@ echo "Making links to \`etc'."
  rm -f DOC* *~ \#*\# *.dvi *.log *,v =* core
  rm -f TAGS)
 
+echo "Making links to \`etc/e'."
+(cd etc/e
+ ln `ls -d * | grep -v 'RCS' ../${tempdir}/etc/e
+ cd ../${tempdir}/etc
+ rm -f DOC* *~ \#*\# *,v =* core)
+
 echo "Making links to \`cpp'."
 (cd cpp
  ln cccp.c cexp.y Makefile README ../${tempdir}/cpp)
@@ -300,7 +313,7 @@ echo "Making links to \`man'."
 (cd man
  ln *.texi *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/man
  test -f README && ln README ../${tempdir}/man
- test -f Makefile && ln Makefile ../${tempdir}/man
+ test -f Makefile.in && ln Makefile.in ../${tempdir}/man
  ln ChangeLog split-man ../${tempdir}/man
  cp texinfo.tex texindex.c getopt.c ../${tempdir}/man
  cd ../${tempdir}/man