comparison make-dist @ 31732:422e0ad3418f

Include XPM and XBM files in lisp/ and subdirs in the distribution.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 19 Sep 2000 16:18:21 +0000
parents f50932a70105
children 7b81c864cccf
comparison
equal deleted inserted replaced
31731:37bf820388a2 31732:422e0ad3418f
315 ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el. 315 ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el.
316 (cd lisp 316 (cd lisp
317 ln [a-zA-Z]*.el ../${tempdir}/lisp 317 ln [a-zA-Z]*.el ../${tempdir}/lisp
318 ln [a-zA-Z]*.elc ../${tempdir}/lisp 318 ln [a-zA-Z]*.elc ../${tempdir}/lisp
319 ln [a-zA-Z]*.dat ../${tempdir}/lisp 319 ln [a-zA-Z]*.dat ../${tempdir}/lisp
320 for img in [a-zA-Z]*.xpm [a-zA-Z]*.xbm; do
321 # If there are no images, the shell won't expand the pattern.
322 if [ -f $img ]; then
323 ln $img ../${tempdir}/lisp
324 fi
325 done
320 ## simula.el doesn't keep abbreviations in simula.defns any more. 326 ## simula.el doesn't keep abbreviations in simula.defns any more.
321 ## ln [a-zA-Z]*.defns ../${tempdir}/lisp 327 ## ln [a-zA-Z]*.defns ../${tempdir}/lisp
322 ln ChangeLog Makefile.in makefile.nt ChangeLog.? ../${tempdir}/lisp 328 ln ChangeLog Makefile.in makefile.nt ChangeLog.? ../${tempdir}/lisp
323 test -f README && ln README ../${tempdir}/lisp 329 test -f README && ln README ../${tempdir}/lisp
324 (cd ../${tempdir}/lisp 330 (cd ../${tempdir}/lisp
345 for file in $subdirs; do 351 for file in $subdirs; do
346 echo " lisp/$file" 352 echo " lisp/$file"
347 mkdir ../${tempdir}/lisp/$file 353 mkdir ../${tempdir}/lisp/$file
348 ln $file/[a-zA-Z]*.el ../${tempdir}/lisp/$file 354 ln $file/[a-zA-Z]*.el ../${tempdir}/lisp/$file
349 ln $file/[a-zA-Z]*.elc ../${tempdir}/lisp/$file 355 ln $file/[a-zA-Z]*.elc ../${tempdir}/lisp/$file
356 for img in $file/[a-zA-Z]*.xpm $file/[a-zA-Z]*.xbm; do
357 if [ -f $img ]; then
358 ln $img ../${tempdir}/lisp/$file
359 fi
360 done
350 if [ -f $file/README ]; then 361 if [ -f $file/README ]; then
351 ln $file/README ../${tempdir}/lisp/$file 362 ln $file/README ../${tempdir}/lisp/$file
352 fi 363 fi
353 if [ -f $file/ChangeLog ]; then 364 if [ -f $file/ChangeLog ]; then
354 ln $file/ChangeLog ../${tempdir}/lisp/$file 365 ln $file/ChangeLog ../${tempdir}/lisp/$file