diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-04-06 21:09:09 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-04-06 21:09:09 +0000 |
commit | 19dcbc3d4a2bdc0af8dcf4e8f99b2a92075d062e (patch) | |
tree | 7930738a35bdc5378caa47d95147ab2fe493b2d4 /make-dist | |
parent | 9f1df86f20ee0159b8cc2b99e6747d623ea49bde (diff) | |
download | emacs-19dcbc3d4a2bdc0af8dcf4e8f99b2a92075d062e.tar.gz |
(lib-src): Don't copy *.lex; it doesn't exist anymore.
(man): Don't copy texindex.c and getopt.c; they're deleted.
(etc): Omit `e'; it's a subdirectory.
(etc/e): Use `../..', not `..', to reference top level.
Diffstat (limited to 'make-dist')
-rwxr-xr-x | make-dist | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/make-dist b/make-dist index 9f7bb4bba60..a8f970bfdfa 100755 --- a/make-dist +++ b/make-dist @@ -241,7 +241,7 @@ echo "Making links to \`src/s'." echo "Making links to \`lib-src'." (cd lib-src - ln [a-zA-Z]*.[chy] [a-zA-Z]*.lex ../${tempdir}/lib-src + ln [a-zA-Z]*.[chy] ../${tempdir}/lib-src ln ChangeLog Makefile.in.in README testfile vcdiff ../${tempdir}/lib-src ln emacs.csh rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src cd ../${tempdir}/lib-src @@ -286,16 +286,16 @@ echo "Making links to \`etc'." ### Don't distribute = files, TAGS, DOC files, backups, autosaves, or ### tex litter. (cd etc - ln `ls -d * | grep -v 'RCS' | grep -v 'Old'` ../${tempdir}/etc + ln `ls -d * | grep -v 'RCS' | grep -v 'Old' | grep -v '^e$'` ../${tempdir}/etc cd ../${tempdir}/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) + ln `ls -d * | grep -v 'RCS'` ../../${tempdir}/etc/e + cd ../../${tempdir}/etc + rm -f *~ \#*\# *,v =* core) echo "Making links to \`cpp'." (cd cpp @@ -316,7 +316,7 @@ echo "Making links to \`man'." test -f README && ln README ../${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 + 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) @@ -342,7 +342,9 @@ done #### Make sure that there aren't any hard links between files in the #### distribution; people with afs can't deal with that. Okay, #### actually we just re-copy anything with a link count greater -#### than two. +#### than two. (Yes, strictly greater than 2 is correct; since we +#### created these files by linking them in from the original tree, +#### they'll have exactly two links normally.) echo "Breaking intra-tree links." find ${tempdir} ! -type d -links +2 \ -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; |