diff options
| author | Glenn Morris | 2008-07-05 20:01:11 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-07-05 20:01:11 +0000 |
| commit | 2906a94c6bbe08e4381c7732688f7eebc2e956d4 (patch) | |
| tree | e4e5c6961af7b6896bf4dabc53ab5ed033e79635 | |
| parent | df19c2fbe1c5311690d5068a48900e93a0bcce0a (diff) | |
| download | emacs-2906a94c6bbe08e4381c7732688f7eebc2e956d4.tar.gz emacs-2906a94c6bbe08e4381c7732688f7eebc2e956d4.zip | |
(EMACS): Doc fix.
(lisp): There are no *.dat or image files here any more.
(src): There are no *.s files here any more.
(etc/images, etc/images/*): Link to most regular files.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rwxr-xr-x | make-dist | 31 |
2 files changed, 22 insertions, 16 deletions
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-07-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * make-dist (EMACS): Doc fix. | ||
| 4 | (lisp): There are no *.dat or image files here any more. | ||
| 5 | (src): There are no *.s files here any more. | ||
| 6 | (etc/images, etc/images/*): Link to most regular files. | ||
| 7 | |||
| 1 | 2008-07-04 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) | 8 | 2008-07-04 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) |
| 2 | 9 | ||
| 3 | * configure.in: Remove reference to deleted $USE_FONT_BACKEND. | 10 | * configure.in: Remove reference to deleted $USE_FONT_BACKEND. |
| @@ -141,7 +141,7 @@ then | |||
| 141 | /*) ;; | 141 | /*) ;; |
| 142 | *) | 142 | *) |
| 143 | if [ ! -f "$EMACS" ]; then | 143 | if [ ! -f "$EMACS" ]; then |
| 144 | echo "$0: You must specify the EMACS environment variable " \ | 144 | echo "$0: You must set the EMACS environment variable " \ |
| 145 | "to an absolute file name." 2>&1 | 145 | "to an absolute file name." 2>&1 |
| 146 | exit 1 | 146 | exit 1 |
| 147 | fi;; | 147 | fi;; |
| @@ -351,13 +351,6 @@ echo "Making links to \`lisp' and its subdirectories" | |||
| 351 | (cd lisp | 351 | (cd lisp |
| 352 | ln [a-zA-Z]*.el ../${tempdir}/lisp | 352 | ln [a-zA-Z]*.el ../${tempdir}/lisp |
| 353 | ln [a-zA-Z]*.elc ../${tempdir}/lisp | 353 | ln [a-zA-Z]*.elc ../${tempdir}/lisp |
| 354 | ln [a-zA-Z]*.dat ../${tempdir}/lisp | ||
| 355 | for img in [a-zA-Z]*.xpm [a-zA-Z]*.xbm [a-zA-Z]*.pbm; do | ||
| 356 | # If there are no images, the shell won't expand the pattern. | ||
| 357 | if [ -f $img ]; then | ||
| 358 | ln $img ../${tempdir}/lisp | ||
| 359 | fi | ||
| 360 | done | ||
| 361 | ## simula.el doesn't keep abbreviations in simula.defns any more. | 354 | ## simula.el doesn't keep abbreviations in simula.defns any more. |
| 362 | ## ln [a-zA-Z]*.defns ../${tempdir}/lisp | 355 | ## ln [a-zA-Z]*.defns ../${tempdir}/lisp |
| 363 | ln ChangeLog ChangeLog.*[0-9] ../${tempdir}/lisp | 356 | ln ChangeLog ChangeLog.*[0-9] ../${tempdir}/lisp |
| @@ -438,7 +431,6 @@ echo "Making links to \`src'" | |||
| 438 | echo " (It is ok if ln fails in some cases.)" | 431 | echo " (It is ok if ln fails in some cases.)" |
| 439 | ln [a-zA-Z]*.c ../${tempdir}/src | 432 | ln [a-zA-Z]*.c ../${tempdir}/src |
| 440 | ln [a-zA-Z]*.h ../${tempdir}/src | 433 | ln [a-zA-Z]*.h ../${tempdir}/src |
| 441 | ln [a-zA-Z]*.s ../${tempdir}/src | ||
| 442 | ln [a-zA-Z]*.in ../${tempdir}/src | 434 | ln [a-zA-Z]*.in ../${tempdir}/src |
| 443 | ln [a-zA-Z]*.opt ../${tempdir}/src | 435 | ln [a-zA-Z]*.opt ../${tempdir}/src |
| 444 | ## If we ended up with a symlink, or if we did not get anything | 436 | ## If we ended up with a symlink, or if we did not get anything |
| @@ -613,19 +605,26 @@ done | |||
| 613 | 605 | ||
| 614 | echo "Making links to \`etc/images'" | 606 | echo "Making links to \`etc/images'" |
| 615 | (cd etc/images | 607 | (cd etc/images |
| 616 | for img in README [a-zA-Z]*.xpm [a-zA-Z]*.xbm [a-zA-Z]*.pbm; do | 608 | for f in *; do |
| 617 | if [ -f $img ]; then | 609 | [ -f "$f" ] || continue |
| 618 | ln $img ../../${tempdir}/etc/images | 610 | case $f in |
| 619 | fi | 611 | (*~|\#*\#|*,v|=*|core) continue ;; |
| 612 | esac | ||
| 613 | ln $f ../../${tempdir}/etc/images | ||
| 620 | done) | 614 | done) |
| 621 | 615 | ||
| 622 | for dir in etc/images/ezimage etc/images/gnus etc/images/gud etc/images/icons \ | 616 | for dir in etc/images/ezimage etc/images/gnus etc/images/gud etc/images/icons \ |
| 623 | etc/images/low-color etc/images/mail etc/images/smilies ; do | 617 | etc/images/low-color etc/images/mail etc/images/smilies ; do |
| 624 | echo "Making links to \`${dir}'" | 618 | echo "Making links to \`${dir}'" |
| 625 | (cd ${dir} | 619 | (cd ${dir} |
| 626 | ln `ls -d * | grep -v CVS | grep -v RCS` ../../../${tempdir}/${dir} | 620 | for f in *; do |
| 627 | cd ../../../${tempdir}/${dir} | 621 | [ -f "$f" ] || continue |
| 628 | rm -f *~ \#*\# *,v =* core) | 622 | case $f in |
| 623 | (*~|\#*\#|*,v|=*|core) continue ;; | ||
| 624 | esac | ||
| 625 | ln $f ../../../${tempdir}/${dir} | ||
| 626 | done | ||
| 627 | ) | ||
| 629 | done | 628 | done |
| 630 | 629 | ||
| 631 | for dir in etc/images/tree-widget/default etc/images/tree-widget/folder \ | 630 | for dir in etc/images/tree-widget/default etc/images/tree-widget/folder \ |