From: Eric Lilja <mindcooler@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Moving homebrewn binaries and question about building documentation
Date: Sat, 21 Jul 2007 19:37:29 +0200 [thread overview]
Message-ID: <f7tg8p$6ad$1@sea.gmane.org> (raw)
In-Reply-To: <uejj1ofrk.fsf@gnu.org>
Eli Zaretskii wrote:
>> From: Eric Lilja <mindcooler@gmail.com>
>> 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.
Thanks again, Eli. I decided to settle for just removing the CVS-subdir,
for now. My script now looks like this:
#!/bin/bash
export CVS_RSH="ssh"
touch ~/.cvspass
#cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r
EMACS_22_BASE emacs
rm ~/.cvspass
cd emacs/nt/
./configure.bat --with-gcc --no-cygwin --no-debug
mingw32-make bootstrap --jobs=2 XMFLAGS="--jobs=2"
mingw32-make info
# Don't have a trailing / in INSTALL_DIR because one will be added
regardless.
# mingw32-make install will remove some CVS-directories on Windows, not all.
# Note: No spaces surrounding the = !
INSTDIR=c:/emacs
mingw32-make install INSTALL_DIR=$INSTDIR
# On Windows, some CVS-directories are left in the installation dir.
# The following code snippet removes them.
for subdir in `find $INSTDIR -type d ! -name RCS ! -name CVS -print` ; do \
rm -rf $subdir/CVS;
done ;
It seems to do what I want, the CVS directories seem to be gone. Looks OK?
- Eric
next prev parent reply other threads:[~2007-07-21 17:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 12:23 Moving homebrewn binaries and question about building documentation Eric Lilja
2007-07-21 13:56 ` Eli Zaretskii
2007-07-21 14:32 ` Eric Lilja
2007-07-21 14:52 ` Eli Zaretskii
2007-07-21 14:56 ` Eric Lilja
2007-07-21 15:31 ` Eli Zaretskii
2007-07-21 16:25 ` Eric Lilja
2007-07-21 16:58 ` Eli Zaretskii
2007-07-21 17:37 ` Eric Lilja [this message]
2007-07-21 19:05 ` Eli Zaretskii
2007-07-22 3:58 ` dhruva
2007-07-22 13:18 ` Eric Lilja
2007-07-21 22:17 ` Jason Rumney
2007-07-22 3:14 ` Eli Zaretskii
2007-07-22 13:18 ` Eric Lilja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f7tg8p$6ad$1@sea.gmane.org' \
--to=mindcooler@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).