From: Eli Zaretskii <eliz@gnu.org>
To: Eric Lilja <mindcooler@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Moving homebrewn binaries and question about building documentation
Date: Sat, 21 Jul 2007 16:56:57 +0300 [thread overview]
Message-ID: <uir8doo5y.fsf@gnu.org> (raw)
In-Reply-To: <f7stsq$mkp$1@sea.gmane.org> (message from Eric Lilja on Sat, 21 Jul 2007 14:23:54 +0200)
> From: Eric Lilja <mindcooler@gmail.com>
> Date: Sat, 21 Jul 2007 14:23:54 +0200
>
> #!/bin/bash
> export CVS_RSH="ssh"
> touch ~/.cvspass
> 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 install
> mingw32-make info
>
> The last command, mingw32-make info, was not actually in the script but
> something I performed as an afterthought. I've had problems before with
> my homebrewn binaries not being able to find its documentation, and
> maybe this was the missing step?
You do need the last command on Windows, since nt/makefile will not
build the documentation by default (unlike on Unix and GNU systems).
This is because Windows users are not required to have Texinfo
installed, and we don't want to ail the build for those who don't.
> My second question is: If I want to keep only the binaries and the files
> those binaries need, which directories should I get rid of now that the
> build is finished (and was a success)?
I'd suggest to use the "make install" target (in nt/makefile). If you
give it a target directory, like this:
make install INSTALL_DIR=/path/to/wherever/you/want
then it will copy only the files necessary for running Emacs you built
to the named directory. You can then remove the source tree if you
don't want to keep it, and run Emacs from the directory where you told
"make install" to put it.
The advantage of "make install" as compared to removing unneeded
directories is that some files inside the directories you do need are
not copied (e.g., the CVS/ subdirectories, the ChangeLog files, etc.).
This might result in more disk space savings.
next prev parent reply other threads:[~2007-07-21 13:56 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uir8doo5y.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mindcooler@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.