Mercurial > emacs
comparison make-dist @ 62151:3e36b3c98f8e
Remove references to makefile.nt and makefile.def.
Include widgets and images subdirectories of etc. Do not exclude
ldefs-boot.el.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 07 May 2005 15:28:12 +0000 |
parents | ffa21905c7e9 |
children | c53a9463c31a 62afea0771d8 |
comparison
equal
deleted
inserted
replaced
62150:273051e787aa | 62151:3e36b3c98f8e |
---|---|
319 for subdir in lisp site-lisp lispref lispintro \ | 319 for subdir in lisp site-lisp lispref lispintro \ |
320 leim leim/CXTERM-DIC leim/MISC-DIC \ | 320 leim leim/CXTERM-DIC leim/MISC-DIC \ |
321 leim/SKK-DIC leim/ja-dic leim/quail \ | 321 leim/SKK-DIC leim/ja-dic leim/quail \ |
322 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ | 322 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ |
323 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ | 323 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ |
324 etc etc/e info man msdos vms mac mac/inc mac/inc/sys \ | 324 etc etc/e etc/images etc/images/gnus etc/images/smilies \ |
325 etc/tree-widget etc/tree-widget/default etc/tree-widget/folder \ | |
326 info man msdos vms mac mac/inc mac/inc/sys \ | |
325 mac/src mac/Emacs.app mac/Emacs.app/Contents \ | 327 mac/src mac/Emacs.app mac/Emacs.app/Contents \ |
326 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \ | 328 mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \ |
327 mac/Emacs.app/Contents/Resources/English.lproj | 329 mac/Emacs.app/Contents/Resources/English.lproj |
328 do | 330 do |
329 echo " ${tempdir}/${subdir}" | 331 echo " ${tempdir}/${subdir}" |
347 ln ChangeLog ChangeLog.*[0-9] ../${tempdir}/lisp | 349 ln ChangeLog ChangeLog.*[0-9] ../${tempdir}/lisp |
348 ln Makefile.in makefile.w32-in ../${tempdir}/lisp | 350 ln Makefile.in makefile.w32-in ../${tempdir}/lisp |
349 test -f README && ln README ../${tempdir}/lisp | 351 test -f README && ln README ../${tempdir}/lisp |
350 (cd ../${tempdir}/lisp | 352 (cd ../${tempdir}/lisp |
351 rm -f TAGS =* | 353 rm -f TAGS =* |
352 rm -f ldefs-boot.el | |
353 rm -f site-init site-init.el site-init.elc | 354 rm -f site-init site-init.el site-init.elc |
354 rm -f site-load site-load.el site-load.elc | 355 rm -f site-load site-load.el site-load.elc |
355 rm -f site-start site-start.el site-start.elc | 356 rm -f site-start site-start.el site-start.elc |
356 rm -f default default.el default.elc | 357 rm -f default default.el default.elc |
357 ) | 358 ) |
394 done ) | 395 done ) |
395 | 396 |
396 echo "Making links to \`leim' and its subdirectories" | 397 echo "Making links to \`leim' and its subdirectories" |
397 ### Don't distribute TAGS, or =*.el files. | 398 ### Don't distribute TAGS, or =*.el files. |
398 (cd leim | 399 (cd leim |
399 ln makefile.nt makefile.w32-in ../${tempdir}/leim | 400 ln makefile.w32-in ../${tempdir}/leim |
400 ln ChangeLog README ../${tempdir}/leim | 401 ln ChangeLog README ../${tempdir}/leim |
401 | 402 |
402 ln CXTERM-DIC/*.tit ../${tempdir}/leim/CXTERM-DIC | 403 ln CXTERM-DIC/*.tit ../${tempdir}/leim/CXTERM-DIC |
403 ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/leim/SKK-DIC | 404 ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/leim/SKK-DIC |
404 ln MISC-DIC/*.* ../${tempdir}/leim/MISC-DIC | 405 ln MISC-DIC/*.* ../${tempdir}/leim/MISC-DIC |
441 cp -p $file ../${tempdir}/src | 442 cp -p $file ../${tempdir}/src |
442 chmod a-w ../${tempdir}/src/$file | 443 chmod a-w ../${tempdir}/src/$file |
443 fi | 444 fi |
444 done | 445 done |
445 ln README ChangeLog ChangeLog.*[0-9] ../${tempdir}/src | 446 ln README ChangeLog ChangeLog.*[0-9] ../${tempdir}/src |
446 ln makefile.nt makefile.w32-in ../${tempdir}/src | 447 ln makefile.w32-in ../${tempdir}/src |
447 ln .gdbinit .dbxinit ../${tempdir}/src | 448 ln .gdbinit .dbxinit ../${tempdir}/src |
448 cd ../${tempdir}/src | 449 cd ../${tempdir}/src |
449 rm -f config.h epaths.h Makefile Makefile.c | 450 rm -f config.h epaths.h Makefile Makefile.c |
450 rm -f =* TAGS) | 451 rm -f =* TAGS) |
451 | 452 |
464 | 465 |
465 echo "Making links to \`lib-src'" | 466 echo "Making links to \`lib-src'" |
466 (cd lib-src | 467 (cd lib-src |
467 ln [a-zA-Z]*.[chy] ../${tempdir}/lib-src | 468 ln [a-zA-Z]*.[chy] ../${tempdir}/lib-src |
468 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src | 469 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src |
469 ln grep-changelog rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src | 470 ln grep-changelog rcs2log rcs-checkin ../${tempdir}/lib-src |
470 ln makefile.w32-in ../${tempdir}/lib-src | 471 ln makefile.w32-in ../${tempdir}/lib-src |
471 ## If we ended up with a symlink, or if we did not get anything | 472 ## If we ended up with a symlink, or if we did not get anything |
472 ## due to a cross-device symlink, copy the file. | 473 ## due to a cross-device symlink, copy the file. |
473 for file in [a-zA-Z]*.[chy]; do | 474 for file in [a-zA-Z]*.[chy]; do |
474 if test -f ../${tempdir}/lib-src/$file; then | 475 if test -f ../${tempdir}/lib-src/$file; then |
490 | 491 |
491 echo "Making links to \`nt'" | 492 echo "Making links to \`nt'" |
492 (cd nt | 493 (cd nt |
493 ln emacs.rc config.nt [a-z]*.c ../${tempdir}/nt | 494 ln emacs.rc config.nt [a-z]*.c ../${tempdir}/nt |
494 ln nmake.defs gmake.defs subdirs.el ../${tempdir}/nt | 495 ln nmake.defs gmake.defs subdirs.el ../${tempdir}/nt |
495 ln [a-z]*.bat [a-z]*.h makefile.def makefile.nt ../${tempdir}/nt | 496 ln [a-z]*.bat [a-z]*.h ../${tempdir}/nt |
496 ln ChangeLog INSTALL README makefile.w32-in ../${tempdir}/nt) | 497 ln ChangeLog INSTALL README makefile.w32-in ../${tempdir}/nt) |
497 | 498 |
498 echo "Making links to \`nt/inc'" | 499 echo "Making links to \`nt/inc'" |
499 (cd nt/inc | 500 (cd nt/inc |
500 ln [a-z]*.h ../../${tempdir}/nt/inc) | 501 ln [a-z]*.h ../../${tempdir}/nt/inc) |
561 echo "Making links to \`etc'" | 562 echo "Making links to \`etc'" |
562 ### Don't distribute = files, TAGS, DOC files, backups, autosaves, or | 563 ### Don't distribute = files, TAGS, DOC files, backups, autosaves, or |
563 ### tex litter. | 564 ### tex litter. |
564 ### Don't distribute gfdl.1, since no man page references it. | 565 ### Don't distribute gfdl.1, since no man page references it. |
565 (cd etc | 566 (cd etc |
566 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$'` | 567 files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \ |
568 | grep -v '^images$' | grep -v '^tree-widget$'` | |
567 ln $files ../${tempdir}/etc | 569 ln $files ../${tempdir}/etc |
568 ## If we ended up with a symlink, or if we did not get anything | 570 ## If we ended up with a symlink, or if we did not get anything |
569 ## due to a cross-device symlink, copy the file. | 571 ## due to a cross-device symlink, copy the file. |
570 for file in $files; do | 572 for file in $files; do |
571 if test -f ../${tempdir}/etc/$file; then | 573 if test -f ../${tempdir}/etc/$file; then |
589 echo "Making links to \`etc/e'" | 591 echo "Making links to \`etc/e'" |
590 (cd etc/e | 592 (cd etc/e |
591 ln `ls -d * | grep -v CVS | grep -v RCS` ../../${tempdir}/etc/e | 593 ln `ls -d * | grep -v CVS | grep -v RCS` ../../${tempdir}/etc/e |
592 cd ../../${tempdir}/etc/e | 594 cd ../../${tempdir}/etc/e |
593 rm -f *~ \#*\# *,v =* core) | 595 rm -f *~ \#*\# *,v =* core) |
596 | |
597 for dir in etc/images/gnus etc/images/smilies \ | |
598 etc/tree-widget/default etc/tree-widget/folder ; do | |
599 echo "Making links to \`${dir}'" | |
600 (cd ${dir} | |
601 ln `ls -d * | grep -v CVS | grep -v RCS` ../../../${tempdir}/${dir} | |
602 cd ../../../${tempdir}/${dir} | |
603 rm -f *~ \#*\# *,v =* core) | |
604 done | |
594 | 605 |
595 echo "Making links to \`info'" | 606 echo "Making links to \`info'" |
596 # Don't distribute backups or autosaves. | 607 # Don't distribute backups or autosaves. |
597 (cd info | 608 (cd info |
598 ln `find . -type f -print | grep -v CVS | grep -v RCS | grep -v cvsignore` ../${tempdir}/info | 609 ln `find . -type f -print | grep -v CVS | grep -v RCS | grep -v cvsignore` ../${tempdir}/info |