emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving homebrewn binaries and question about building documentation


From: Eli Zaretskii
Subject: Re: Moving homebrewn binaries and question about building documentation
Date: Sat, 21 Jul 2007 19:58:23 +0300

> From: Eric Lilja <address@hidden>
> Date: Sat, 21 Jul 2007 18:25:30 +0200
> 
> if you know of a clever way I can remove these directories from 
> inside my script?

Just copy these lines from Makefile.in:

              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 ; \
                rm -f  $${subdir}/[mM]akefile* ; \
                rm -f  $${subdir}/ChangeLog* ; \
                rm -f  $${subdir}/dired.todo ; \
              done) ; \

where $$(dest) is the value of INSTALL_DIR you give to "make install".

(You will have to convert $$ into $ in this snippet, for it to work
from a script, as opposed to a Makefile.)

> You're a great asset, Eli! Thanks!

You're welcome.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]