]> code.delx.au - gnu-emacs/commitdiff
Include XPM and XBM files in lisp/ and subdirs
authorGerd Moellmann <gerd@gnu.org>
Tue, 19 Sep 2000 16:18:21 +0000 (16:18 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 19 Sep 2000 16:18:21 +0000 (16:18 +0000)
in the distribution.

make-dist

index fd8066cdc4a7c1b84d06be20b3b793d02d2d0a87..b1270757de1ae0a8eaaa4db0510b0fde01f7f05f 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -317,6 +317,12 @@ echo "Making links to \`lisp' and its subdirectories"
  ln [a-zA-Z]*.el ../${tempdir}/lisp
  ln [a-zA-Z]*.elc ../${tempdir}/lisp
  ln [a-zA-Z]*.dat ../${tempdir}/lisp
+ for img in [a-zA-Z]*.xpm [a-zA-Z]*.xbm; do
+   # If there are no images, the shell won't expand the pattern.
+   if [ -f $img ]; then
+     ln $img ../${tempdir}/lisp
+   fi
+ done
  ## simula.el doesn't keep abbreviations in simula.defns any more.
  ## ln [a-zA-Z]*.defns ../${tempdir}/lisp
  ln ChangeLog Makefile.in makefile.nt ChangeLog.? ../${tempdir}/lisp
@@ -347,6 +353,11 @@ echo "Making links to \`lisp' and its subdirectories"
    mkdir ../${tempdir}/lisp/$file
    ln $file/[a-zA-Z]*.el ../${tempdir}/lisp/$file
    ln $file/[a-zA-Z]*.elc ../${tempdir}/lisp/$file
+   for img in $file/[a-zA-Z]*.xpm $file/[a-zA-Z]*.xbm; do
+     if [ -f $img ]; then
+       ln $img ../${tempdir}/lisp/$file
+     fi
+   done
    if [ -f $file/README ]; then
      ln $file/README ../${tempdir}/lisp/$file
    fi