aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorGlenn Morris2010-06-09 22:28:40 -0700
committerGlenn Morris2010-06-09 22:28:40 -0700
commit113ddd7501233375c1de690d009a90fd0ec75cfa (patch)
tree1331aeb9b2c20a81e5cf34376792f612fa591ea1 /make-dist
parentcb4bfcb5daa4faa12e7dd52b2c4fde2e20c90c09 (diff)
downloademacs-113ddd7501233375c1de690d009a90fd0ec75cfa.tar.gz
emacs-113ddd7501233375c1de690d009a90fd0ec75cfa.zip
* make-dist: Remove references to non-existent directories and files.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist14
1 files changed, 7 insertions, 7 deletions
diff --git a/make-dist b/make-dist
index d853a078ce3..95512c7f482 100755
--- a/make-dist
+++ b/make-dist
@@ -281,7 +281,7 @@ echo "Making lisp/MANIFEST"
281(cd lisp; 281(cd lisp;
282 files=`echo [!=]*.el | sed -e 's/ subdirs.el / /' -e 's/ default.el / /'` 282 files=`echo [!=]*.el | sed -e 's/ subdirs.el / /' -e 's/ default.el / /'`
283 for dir in [!=]*; do 283 for dir in [!=]*; do
284 if [ -d $dir ] && [ $dir != term ] && [ $dir != CVS ] && [ $dir != RCS ] 284 if [ -d $dir ] && [ $dir != term ]
285 then 285 then
286 echo $dir 286 echo $dir
287 thisdir=`echo $dir/[!=]*.el | sed -e 's/ subdirs.el / /'` 287 thisdir=`echo $dir/[!=]*.el | sed -e 's/ subdirs.el / /'`
@@ -383,7 +383,7 @@ echo "Making links to \`lisp' and its subdirectories"
383 ## Find all subdirs of lisp dir 383 ## Find all subdirs of lisp dir
384 for file in `find . -type d -print`; do 384 for file in `find . -type d -print`; do
385 case $file in 385 case $file in
386 . | .. | */Old | */CVS | */RCS | */=*) 386 . | .. | */=*)
387 ;; 387 ;;
388 *) 388 *)
389 if [ -d $file ]; then 389 if [ -d $file ]; then
@@ -580,7 +580,7 @@ echo "Making links to \`etc'"
580### Don't distribute = files, TAGS, DOC files, backups, autosaves, or 580### Don't distribute = files, TAGS, DOC files, backups, autosaves, or
581### tex litter. 581### tex litter.
582(cd etc 582(cd etc
583 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \ 583 files=`ls -d * | grep -v '^e$' \
584 | grep -v '^charsets$' | grep -v '^gnus$' | grep -v '^images$' | grep -v '^nxml$' \ 584 | grep -v '^charsets$' | grep -v '^gnus$' | grep -v '^images$' | grep -v '^nxml$' \
585 | grep -v '^refcards$' | grep -v '^tutorials$'| grep -v '^schema$'` 585 | grep -v '^refcards$' | grep -v '^tutorials$'| grep -v '^schema$'`
586 ln $files ../${tempdir}/etc 586 ln $files ../${tempdir}/etc
@@ -608,7 +608,7 @@ echo "Making links to \`etc'"
608for dir in etc/charsets etc/e etc/gnus etc/nxml etc/tutorials etc/refcards etc/schema ; do 608for dir in etc/charsets etc/e etc/gnus etc/nxml etc/tutorials etc/refcards etc/schema ; do
609 echo "Making links to \`${dir}'" 609 echo "Making links to \`${dir}'"
610 (cd ${dir} 610 (cd ${dir}
611 ln `ls -d * | grep -v CVS | grep -v RCS` ../../${tempdir}/${dir} 611 ln `ls -d *` ../../${tempdir}/${dir}
612 cd ../../${tempdir}/${dir} 612 cd ../../${tempdir}/${dir}
613 rm -f *~ \#*\# *,v =* core) 613 rm -f *~ \#*\# *,v =* core)
614done 614done
@@ -642,7 +642,7 @@ for dir in etc/images/tree-widget/default etc/images/tree-widget/folder \
642 etc/images/smilies/grayscale etc/images/smilies/medium; do 642 etc/images/smilies/grayscale etc/images/smilies/medium; do
643 echo "Making links to \`${dir}'" 643 echo "Making links to \`${dir}'"
644 (cd ${dir} 644 (cd ${dir}
645 ln `ls -d * | grep -v CVS | grep -v RCS` ../../../../${tempdir}/${dir} 645 ln `ls -d *` ../../../../${tempdir}/${dir}
646 cd ../../../../${tempdir}/${dir} 646 cd ../../../../${tempdir}/${dir}
647 rm -f *~ \#*\# *,v =* core) 647 rm -f *~ \#*\# *,v =* core)
648done 648done
@@ -651,7 +651,7 @@ for dir in etc/images/icons/hicolor/*/apps \
651 etc/images/icons/hicolor/*/mimetypes; do 651 etc/images/icons/hicolor/*/mimetypes; do
652 echo "Making links to \`${dir}'" 652 echo "Making links to \`${dir}'"
653 (cd ${dir} 653 (cd ${dir}
654 ln `ls -d * | grep -v CVS | grep -v RCS` ../../../../../../${tempdir}/${dir} 654 ln `ls -d *` ../../../../../../${tempdir}/${dir}
655 cd ../../../../../../${tempdir}/${dir} 655 cd ../../../../../../${tempdir}/${dir}
656 rm -f *~ \#*\# *,v =* core) 656 rm -f *~ \#*\# *,v =* core)
657done 657done
@@ -659,7 +659,7 @@ done
659echo "Making links to \`info'" 659echo "Making links to \`info'"
660# Don't distribute backups or autosaves. 660# Don't distribute backups or autosaves.
661(cd info 661(cd info
662 ln `find . -type f -print | grep -v CVS | grep -v RCS | grep -v cvsignore` ../${tempdir}/info 662 ln `find . -type f -print` ../${tempdir}/info
663 #ln [a-zA-Z]* ../${tempdir}/info 663 #ln [a-zA-Z]* ../${tempdir}/info
664 cd ../${tempdir}/info 664 cd ../${tempdir}/info
665 # Avoid an error when expanding the wildcards later. 665 # Avoid an error when expanding the wildcards later.