aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-04-06 21:09:09 +0000
committerKarl Heuer1995-04-06 21:09:09 +0000
commit375f1bd7112891fcf84c2d1de4a26336e0878149 (patch)
treeff53a85708f64a13a2d817045ab355f0328358a3
parentb74dc89e42439e966cff79f1f75b2366d9b1e43a (diff)
downloademacs-375f1bd7112891fcf84c2d1de4a26336e0878149.tar.gz
emacs-375f1bd7112891fcf84c2d1de4a26336e0878149.zip
(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.
-rwxr-xr-xmake-dist16
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'."
241 241
242echo "Making links to \`lib-src'." 242echo "Making links to \`lib-src'."
243(cd lib-src 243(cd lib-src
244 ln [a-zA-Z]*.[chy] [a-zA-Z]*.lex ../${tempdir}/lib-src 244 ln [a-zA-Z]*.[chy] ../${tempdir}/lib-src
245 ln ChangeLog Makefile.in.in README testfile vcdiff ../${tempdir}/lib-src 245 ln ChangeLog Makefile.in.in README testfile vcdiff ../${tempdir}/lib-src
246 ln emacs.csh rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src 246 ln emacs.csh rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src
247 cd ../${tempdir}/lib-src 247 cd ../${tempdir}/lib-src
@@ -286,16 +286,16 @@ echo "Making links to \`etc'."
286### Don't distribute = files, TAGS, DOC files, backups, autosaves, or 286### Don't distribute = files, TAGS, DOC files, backups, autosaves, or
287### tex litter. 287### tex litter.
288(cd etc 288(cd etc
289 ln `ls -d * | grep -v 'RCS' | grep -v 'Old'` ../${tempdir}/etc 289 ln `ls -d * | grep -v 'RCS' | grep -v 'Old' | grep -v '^e$'` ../${tempdir}/etc
290 cd ../${tempdir}/etc 290 cd ../${tempdir}/etc
291 rm -f DOC* *~ \#*\# *.dvi *.log *,v =* core 291 rm -f DOC* *~ \#*\# *.dvi *.log *,v =* core
292 rm -f TAGS) 292 rm -f TAGS)
293 293
294echo "Making links to \`etc/e'." 294echo "Making links to \`etc/e'."
295(cd etc/e 295(cd etc/e
296 ln `ls -d * | grep -v 'RCS'` ../${tempdir}/etc/e 296 ln `ls -d * | grep -v 'RCS'` ../../${tempdir}/etc/e
297 cd ../${tempdir}/etc 297 cd ../../${tempdir}/etc
298 rm -f DOC* *~ \#*\# *,v =* core) 298 rm -f *~ \#*\# *,v =* core)
299 299
300echo "Making links to \`cpp'." 300echo "Making links to \`cpp'."
301(cd cpp 301(cd cpp
@@ -316,7 +316,7 @@ echo "Making links to \`man'."
316 test -f README && ln README ../${tempdir}/man 316 test -f README && ln README ../${tempdir}/man
317 test -f Makefile.in && ln Makefile.in ../${tempdir}/man 317 test -f Makefile.in && ln Makefile.in ../${tempdir}/man
318 ln ChangeLog split-man ../${tempdir}/man 318 ln ChangeLog split-man ../${tempdir}/man
319 cp texinfo.tex texindex.c getopt.c ../${tempdir}/man 319 cp texinfo.tex ../${tempdir}/man
320 cd ../${tempdir}/man 320 cd ../${tempdir}/man
321 rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail 321 rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail
322 rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux) 322 rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux)
@@ -342,7 +342,9 @@ done
342#### Make sure that there aren't any hard links between files in the 342#### Make sure that there aren't any hard links between files in the
343#### distribution; people with afs can't deal with that. Okay, 343#### distribution; people with afs can't deal with that. Okay,
344#### actually we just re-copy anything with a link count greater 344#### actually we just re-copy anything with a link count greater
345#### than two. 345#### than two. (Yes, strictly greater than 2 is correct; since we
346#### created these files by linking them in from the original tree,
347#### they'll have exactly two links normally.)
346echo "Breaking intra-tree links." 348echo "Breaking intra-tree links."
347find ${tempdir} ! -type d -links +2 \ 349find ${tempdir} ! -type d -links +2 \
348 -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; 350 -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \;