Am 19.07.2008 um 22:56 schrieb Adrian Robert:

> 'compile' is now removed from CVS.  You should not need --without-x or
> --without-freetype.

Tried, and it works as advertised!

>
>
>> ...
>>      ( cd .../emacs/nextstep/Emacs.app/ ; for subdir in `find ${dest} -
>> type d ! -name CVS -print` ; do chmod a+rx ${subdir} ; rm -rf $
>> {subdir}/CVS ; rm -f ${subdir}/.cvsignore ; done ; )
>>      find: illegal option -- t
>>      find: illegal option -- y
>> ...
>
> Why does this happen here and not in the exact same line in emacs/
> Makefile.in under the "install-arch-indep" target?  Or does it?


I checked all occurences of the find command in *compilation* buffer:

        cd ../lisp; make -k update-subdirs
        wd=.../emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for  
file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* |  
*/.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
        for file in $wins; do \
           .../emacs/lisp/../update-subdirs $file; \
        done;
        `/bin/pwd`/temacs --batch --load loadup bootstrap
        Loading loadup.el (source)...
        
        
        wd=.../emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for  
file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* |  
*/.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $wd/ 
$file" ;; esac; done; \
        echo Directories: $wins; \
        EMACSLOADPATH=.../emacs/lisp LC_ALL=C ../src/bootstrap-emacs -batch  
--no-site-file --multibyte -l autoload --eval '(setq generated- 
autoload-file ".../emacs/lisp/loaddefs.el")' -f batch-update- 
autoloads $wins
        
        
        ln -f emacs bootstrap-emacs
        rm -fr .../emacs/nextstep/Emacs.app/
        mkdir -p .../emacs/nextstep/Emacs.app/
        ( cd .../emacs/nextstep/Cocoa/Emacs.base ; tar cfh - . ) | ( cd .../ 
emacs/nextstep/Emacs.app/ ; tar xf - )
        ( cd .../emacs/nextstep/Emacs.app/ ; for subdir in `find ${dest} - 
type d ! -name CVS -print` ; do chmod a+rx ${subdir} ; rm -rf $ 
{subdir}/CVS ; rm -f ${subdir}/.cvsignore ; done ; )
        find: illegal option -- t
        find: illegal option -- y
        find: illegal option -- p
        find: illegal option -- e
        find: d: No such file or directory
        mkdir -p .../emacs/nextstep/Emacs.app/Contents/MacOS/
        cp -f emacs .../emacs/nextstep/Emacs.app/Contents/MacOS/Emacs
        boot=bootstrap-emacs;                         \
        if [ -x "src/$boot" ]; then boot=""; fi;                   \
        cd lisp; make all -k                           \
        
        
        make -k finder-data
        wd=.../emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for  
file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* |  
*/.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $wd/ 
$file" ;; esac; done; \
        echo Directories: $wins; \
        EMACSLOADPATH=.../emacs/lisp LC_ALL=C ../src/emacs -batch --no-site- 
file --multibyte -l finder --eval '(setq generated-finder-keywords- 
file ".../emacs/lisp/finder-inf.el")' -f finder-compile-keywords-make- 
dist $wins


This happened all at compile time. At install time this happens:

        set /usr/local/share/emacs/23.0.60/etc /usr/local/share/emacs/ 
23.0.60/lisp ; \
        unset CDPATH; \
        for dir in .../emacs/etc .../emacs/lisp ; do \
          if [ `(cd $1 && /bin/pwd)` != `(cd ${dir} && /bin/pwd)` ] ; then \
            rm -rf $1 ; \
          fi ; \
          shift ; \
        done
        set /usr/local/share/emacs/23.0.60/etc /usr/local/share/emacs/ 
23.0.60/lisp ; \
        mkdir /usr/local/share/emacs/23.0.60/etc /usr/local/share/emacs/ 
23.0.60/lisp ; \
        chmod ugo+rx /usr/local/share/emacs/23.0.60/etc /usr/local/share/ 
emacs/23.0.60/lisp ; \
        unset CDPATH; \
        for installuser in ${LOGNAME} ${USERNAME} ${USER} `id -un 2> /dev/ 
null`; do [ -n "${installuser}" ] && break ; done; \
        for dir in .../emacs/etc .../emacs/lisp ; do \
          dest=$1 ; shift ; \
          [ -d ${dir} ] \
          && [ `(cd ${dir} && /bin/pwd)` != `(cd ${dest} && /bin/pwd)` ] \
          && (echo "Copying ${dir} to ${dest}..." ; \
              (cd ${dir}; tar -chf - . ) \
                | (cd ${dest}; umask 022; \
                           tar -xvf - && cat > /dev/null) || exit 1; \
              find ${dest} -exec chown ${installuser} {} ';' ;\
              for subdir in `find ${dest} -type d ! -name RCS ! -name CVS - 
print` ; do \
                chmod a+rx ${subdir} ; \
                rm -rf ${subdir}/RCS ; \
                rm -rf ${subdir}/CVS ; \
                rm -f  ${subdir}/.cvsignore ; \
                rm -f  ${subdir}/.arch-inventory ; \
                rm -f  ${subdir}/\#* ; \
                rm -f  ${subdir}/.\#* ; \
                rm -f  ${subdir}/*~ ; \
                rm -f  ${subdir}/*.orig ; \
                [ "${dir}" != ".../emacs/etc" ] && \
                        rm -f  ${subdir}/[mM]akefile* ; \
                rm -f  ${subdir}/ChangeLog* ; \
                rm -f  ${subdir}/dired.todo ; \
              done) ; \
        done
        Copying .../emacs/etc to /usr/local/share/emacs/23.0.60/etc...
        ./
        ./.arch-inventory
        ./.cvsignore


As I mentioned before: dest has not been set before in src/Makefile.  
So find does not see the root where to begin the search.

--
Greetings

   Pete

If you don't find it in the index, look very carefully through the  
entire catalogue.
        –  Sears, Roebuck, and Co., Consumer's Guide, 1897





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to