unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Christoph <cschol2112@googlemail.com>
Cc: emacs-devel@gnu.org
Subject: Re: make dist target for Windows
Date: Sun, 04 Apr 2010 10:10:07 +0300	[thread overview]
Message-ID: <83wrwnzoa8.fsf@gnu.org> (raw)
In-Reply-To: <4BB77B64.3080501@gmail.com>

> Date: Sat, 03 Apr 2010 11:31:16 -0600
> From: Christoph <cschol2112@googlemail.com>
> CC: emacs-devel@gnu.org
> 
> Find v4 of the patch attached.
> 
> Major changes:
> - configure.bat takes multiple --distfiles arguments for packaging more 
> than one library in the binary distribution
> - configure.bat verifies that all specified distfiles exist and warns if 
> they don't
> - updated INSTALL documentation

Thanks.  A couple of nits:

> +set distFilesOK=1
> +echo ...all distfiles found.
> +goto :distFilesDone
> +
> +:distFilesNotFound
> +set distFilesOk=0
> +echo ...%fileNotFound% not found.
> +set distfiles=
> +goto :distfilesDone

You set distFilesOk here, but you never unset it before exiting the
script.

In general, type "set RET" after running the script, and pay attention
to any variables from the script in the environment -- they need to be
unset before you exit the script.

> +dist: install-bin
> +	$(CP) $(DIST_FILES) $(INSTALL_DIR)/bin
> +	$(CP) README.W32 $(INSTALL_DIR)
> +	zipdist.bat $(INSTALL_DIR) $(VERSION)

Hmm... did you try running "make dist" with some sh.exe on your PATH?
I think it's not a good idea to rely on a Unixy shell to know how to
run Windows batch files.  I would suggest to invoke through the
Windows shell explicitly:

	$(COMSPEC) /c $(ARGQUOTE)zipdist.bat $(DQUOTE)$(INSTALL_DIR)$(DQUOTE) $(VERSION)$(ARGQUOTE)

The $(*QUOTE) stuff is needed in case $(INSTALL_DIR) includes spaces,
but please test that this works, both with cmd.exe and sh.exe as the
shell, because I didn't.

> BTW, Eli, thanks for taking the time to review this with such attention 
> to detail. I appreciate it.

Thank _you_ for working on this in the first place.




  reply	other threads:[~2010-04-04  7:10 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31  3:03 make dist target for Windows Christoph
2010-03-31  8:30 ` Eli Zaretskii
2010-03-31 14:57   ` Stefan Monnier
2010-03-31 16:13     ` Eli Zaretskii
2010-03-31 17:55       ` Stefan Monnier
2010-03-31 23:12     ` Jason Rumney
2010-03-31 23:39       ` Sean Sieger
2010-03-31 23:43       ` Christoph
2010-04-01  5:00         ` Jason Rumney
2010-04-01  6:13           ` Jan Djärv
2010-04-01  6:52           ` Eli Zaretskii
2010-04-01  7:23             ` Jan Djärv
2010-04-01  7:44               ` Eli Zaretskii
2010-04-01  7:24             ` Eli Zaretskii
2010-04-01 13:21               ` Jason Rumney
2010-04-01 13:37                 ` Eli Zaretskii
2010-04-01 13:17             ` Jason Rumney
2010-04-01  1:48   ` Christoph
2010-04-01  7:34     ` Eli Zaretskii
2010-04-02  4:26       ` Christoph
2010-04-02  8:25         ` Eli Zaretskii
2010-04-03 17:31           ` Christoph
2010-04-04  7:10             ` Eli Zaretskii [this message]
2010-04-06  2:12               ` Christoph
2010-04-06 18:00                 ` Eli Zaretskii
2010-04-07  1:53                   ` Christoph
2010-04-08  0:05                     ` Christoph
2010-04-08 17:51                       ` Eli Zaretskii
2010-04-08 18:08                         ` Christoph
2010-07-03 17:08                         ` Christoph
  -- strict thread matches above, loose matches on Subject: below --
2010-03-31 10:49 grischka
2010-03-31 11:18 ` Eli Zaretskii
2010-04-02 11:12   ` grischka
2010-04-02 13:01     ` Eli Zaretskii
2010-04-06 13:17       ` grischka
2010-04-06 13:46         ` joakim
2010-04-08 20:45           ` grischka

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=83wrwnzoa8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=cschol2112@googlemail.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).