From: Chris Hanson Date: Tue, 12 Apr 1988 18:50:32 +0000 (+0000) Subject: Various changes for NFS and new organization. X-Git-Tag: 20090517-FFI~12831 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=65d890f837ff79d4e0a685056a2c2edc63315137;p=mit-scheme.git Various changes for NFS and new organization. --- diff --git a/etc/make_dist b/etc/make_dist index 91a5b8c5c..ce9a8da51 100755 --- a/etc/make_dist +++ b/etc/make_dist @@ -20,7 +20,6 @@ else endif set source="$prefix/scheme/rel5" set rcs_source="$prefix/scheme/rcs/rel5" -set tempfile="/tmp/sdist$$" if (-e $destination) then rm -rf $destination @@ -31,18 +30,15 @@ mkdir $destination cd $source vms/make.vms -# Copy all the auxiliary files. Use $tempfile because of buggy -# interaction between `find' and RFA under recent versions of hp-ux. +# Copy all the auxiliary files. cd $source -find Makefile documentation etc examples makefiles libs -print > $tempfile -find vms \( -name '*.com' -o -name '*.txt' -o -name '*.el' \) -print >> $tempfile -cpio -pdmuv $destination < $tempfile -rm -f $tempfile +find Makefile documentation etc examples makefiles libs -type f -print | cpio -pdmuv $destination +find vms \( -name '*.com' -o -name '*.txt' -o -name '*.el' \) -type f -print | cpio -pdmuv $destination # Clean up any unwanted files that might be around. cd $source foreach i (documentation etc makefiles libs) - find $destination/$i \( -name '.*~*' -o -name '#*' -o -name '*~*' -o -name '*.bin' -o -name '*.ext' -o -name '*.com' -o -name '*.elc' -o -name 'RCS' -o -name 'RCS.remote' \) -exec rm -f {} \; + find $destination/$i \( -name '.*~*' -o -name '#*' -o -name '*~*' -o -name '*.bin' -o -name '*.ext' -o -name '*.com' -o -name '*.binf' -o -name '*.elc' -o -name 'RCS' -o -name 'RCS.remote' \) -print | xargs rm -f end # Copy the primary source code by checking out reference copies from RCS. @@ -59,7 +55,7 @@ end cd $destination etc/resyntax etc/make_psb -find * \( -name '*.bin' -o -name '*.ext' \) -exec rm -f {} \; +find * \( -name '*.bin' -o -name '*.ext' \) -print | xargs rm -f # Move things into the appropriate places. cd $destination/documentation