summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-09-19 16:18:21 +0000
committerGerd Moellmann <gerd@gnu.org>2000-09-19 16:18:21 +0000
commit974b6a15768c1ed6d418f8db87138bd2423e8d12 (patch)
treeb07029f6a5c509bfe5d7debe54d9f703cc157aae
parent3ea4c27fb5285f0600733bd653a2be6576233771 (diff)
downloademacs-974b6a15768c1ed6d418f8db87138bd2423e8d12.tar.gz
Include XPM and XBM files in lisp/ and subdirs
in the distribution.
-rwxr-xr-xmake-dist11
1 files changed, 11 insertions, 0 deletions
diff --git a/make-dist b/make-dist
index fd8066cdc4a..b1270757de1 100755
--- 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