Mercurial > emacs
comparison make-dist @ 82763:4146a20f4623
Follow reorganization of files in etc/.
author | Romain Francoise <romain@orebokech.com> |
---|---|
date | Wed, 22 Aug 2007 17:50:31 +0000 |
parents | 4b9e26bc6f59 |
children | 786ae2b7b452 b83d0dadb2a7 |
comparison
equal
deleted
inserted
replaced
82762:8ff02425f4db | 82763:4146a20f4623 |
---|---|
318 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ | 318 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ |
319 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ | 319 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ |
320 etc etc/e \ | 320 etc etc/e \ |
321 etc/images etc/images/ezimage etc/images/gnus etc/images/gud \ | 321 etc/images etc/images/ezimage etc/images/gnus etc/images/gud \ |
322 etc/images/icons etc/images/low-color etc/images/mail \ | 322 etc/images/icons etc/images/low-color etc/images/mail \ |
323 etc/images/smilies etc/tree-widget etc/tree-widget/default \ | 323 etc/images/smilies etc/images/tree-widget \ |
324 etc/tree-widget/folder info man m4 msdos vms mac mac/inc \ | 324 etc/images/tree-widget/default etc/images/tree-widget/folder \ |
325 etc/refcards etc/tutorials info man m4 msdos vms mac mac/inc \ | |
325 mac/inc/sys mac/src mac/Emacs.app mac/Emacs.app/Contents \ | 326 mac/inc/sys mac/src mac/Emacs.app mac/Emacs.app/Contents \ |
326 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \ | 327 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \ |
327 mac/Emacs.app/Contents/Resources/English.lproj | 328 mac/Emacs.app/Contents/Resources/English.lproj |
328 do | 329 do |
329 echo " ${tempdir}/${subdir}" | 330 echo " ${tempdir}/${subdir}" |
570 ### Don't distribute = files, TAGS, DOC files, backups, autosaves, or | 571 ### Don't distribute = files, TAGS, DOC files, backups, autosaves, or |
571 ### tex litter. | 572 ### tex litter. |
572 ### Don't distribute gfdl.1, since no man page references it. | 573 ### Don't distribute gfdl.1, since no man page references it. |
573 (cd etc | 574 (cd etc |
574 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \ | 575 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \ |
575 | grep -v '^images$' | grep -v '^tree-widget$'` | 576 | grep -v '^images$' | grep -v '^refcards$' | grep -v '^tutorials$'` |
576 ln $files ../${tempdir}/etc | 577 ln $files ../${tempdir}/etc |
577 ## If we ended up with a symlink, or if we did not get anything | 578 ## If we ended up with a symlink, or if we did not get anything |
578 ## due to a cross-device symlink, copy the file. | 579 ## due to a cross-device symlink, copy the file. |
579 for file in $files; do | 580 for file in $files; do |
580 if test -f ../${tempdir}/etc/$file; then | 581 if test -f ../${tempdir}/etc/$file; then |
593 cd ../${tempdir}/etc | 594 cd ../${tempdir}/etc |
594 rm -f fns*.el gfdl.1 | 595 rm -f fns*.el gfdl.1 |
595 rm -f DOC* *~ \#*\# *.dvi *.log *.orig *.rej *,v =* core | 596 rm -f DOC* *~ \#*\# *.dvi *.log *.orig *.rej *,v =* core |
596 rm -f TAGS) | 597 rm -f TAGS) |
597 | 598 |
598 echo "Making links to \`etc/e'" | 599 for dir in etc/e etc/tutorials etc/refcards ; do |
599 (cd etc/e | 600 echo "Making links to \`${dir}'" |
600 ln `ls -d * | grep -v CVS | grep -v RCS` ../../${tempdir}/etc/e | 601 (cd ${dir} |
601 cd ../../${tempdir}/etc/e | 602 ln `ls -d * | grep -v CVS | grep -v RCS` ../../${tempdir}/${dir} |
602 rm -f *~ \#*\# *,v =* core) | 603 cd ../../${tempdir}/${dir} |
604 rm -f *~ \#*\# *,v =* core) | |
605 done | |
603 | 606 |
604 echo "Making links to \`etc/images'" | 607 echo "Making links to \`etc/images'" |
605 (cd etc/images | 608 (cd etc/images |
606 for img in README [a-zA-Z]*.xpm [a-zA-Z]*.xbm [a-zA-Z]*.pbm; do | 609 for img in README [a-zA-Z]*.xpm [a-zA-Z]*.xbm [a-zA-Z]*.pbm; do |
607 if [ -f $img ]; then | 610 if [ -f $img ]; then |
608 ln $img ../../${tempdir}/etc/images | 611 ln $img ../../${tempdir}/etc/images |
609 fi | 612 fi |
610 done) | 613 done) |
611 | 614 |
612 for dir in etc/images/ezimage etc/images/gnus etc/images/gud etc/images/icons \ | 615 for dir in etc/images/ezimage etc/images/gnus etc/images/gud etc/images/icons \ |
613 etc/images/low-color etc/images/mail etc/images/smilies \ | 616 etc/images/low-color etc/images/mail etc/images/smilies ; do |
614 etc/tree-widget/default etc/tree-widget/folder ; do | |
615 echo "Making links to \`${dir}'" | 617 echo "Making links to \`${dir}'" |
616 (cd ${dir} | 618 (cd ${dir} |
617 ln `ls -d * | grep -v CVS | grep -v RCS` ../../../${tempdir}/${dir} | 619 ln `ls -d * | grep -v CVS | grep -v RCS` ../../../${tempdir}/${dir} |
618 cd ../../../${tempdir}/${dir} | 620 cd ../../../${tempdir}/${dir} |
621 rm -f *~ \#*\# *,v =* core) | |
622 done | |
623 | |
624 for dir in etc/images/tree-widget/default etc/images/tree-widget/folder ; do | |
625 echo "Making links to \`${dir}'" | |
626 (cd ${dir} | |
627 ln `ls -d * | grep -v CVS | grep -v RCS` ../../../../${tempdir}/${dir} | |
628 cd ../../../../${tempdir}/${dir} | |
619 rm -f *~ \#*\# *,v =* core) | 629 rm -f *~ \#*\# *,v =* core) |
620 done | 630 done |
621 | 631 |
622 echo "Making links to \`info'" | 632 echo "Making links to \`info'" |
623 # Don't distribute backups or autosaves. | 633 # Don't distribute backups or autosaves. |