From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dhruva Krishnamurthy Newsgroups: gmane.emacs.devel Subject: Re: Build error: "nmake info" in "emacs/man" Date: Fri, 10 Sep 2004 18:21:53 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <68c73b1a040910055137ba7977@mail.gmail.com> References: <68c73b1a040907231014b3190d@mail.gmail.com> <01c4961f$Blat.v2.2.2$d9a2e360@zahav.net.il> <68c73b1a04090821582822efe1@mail.gmail.com> <01c496a0$Blat.v2.2.2$4f118ae0@zahav.net.il> <68c73b1a04090922577174ce96@mail.gmail.com> <01c49717$Blat.v2.2.2$cb768280@zahav.net.il> <68c73b1a04091002386f3c5419@mail.gmail.com> <41418DF6.7010407@gnu.org> Reply-To: Dhruva Krishnamurthy NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094820769 9863 80.91.224.253 (10 Sep 2004 12:52:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2004 12:52:49 +0000 (UTC) Cc: Eli Zaretskii , reiner.steib@gmx.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 10 14:52:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5ktG-0007pe-00 for ; Fri, 10 Sep 2004 14:52:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5kyd-0003yY-8t for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2004 08:58:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C5kyL-0003u8-Sc for emacs-devel@gnu.org; Fri, 10 Sep 2004 08:57:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C5kyK-0003tX-V3 for emacs-devel@gnu.org; Fri, 10 Sep 2004 08:57:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5kyK-0003tQ-Q7 for emacs-devel@gnu.org; Fri, 10 Sep 2004 08:57:48 -0400 Original-Received: from [64.233.170.204] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C5ksh-0008RC-VQ for emacs-devel@gnu.org; Fri, 10 Sep 2004 08:52:00 -0400 Original-Received: by mproxy.gmail.com with SMTP id 73so687414rnl for ; Fri, 10 Sep 2004 05:51:54 -0700 (PDT) Original-Received: by 10.38.59.69 with SMTP id h69mr4212681rna; Fri, 10 Sep 2004 05:51:54 -0700 (PDT) Original-Received: by 10.38.102.67 with HTTP; Fri, 10 Sep 2004 05:51:53 -0700 (PDT) Original-To: Jason Rumney In-Reply-To: <41418DF6.7010407@gnu.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26965 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26965 On Fri, 10 Sep 2004 12:20:22 +0100, Jason Rumney wrote: > Dhruva Krishnamurthy wrote: > > >I found an alternate way to do that: > >cd $(srcdir) & $(MAKEINFO) pgg.texi > >Replace the ';' with '&' and things works with nmake! I tried it in > >the makefile.w32-in > > > > > > > It looks like you may have found a way to support out of source builds > on Windows. If that works on all the variations of make (Mingw GNU make > and MS nmake) and shell (cmd.exe and Cygwin bash) that the Windows build > supports, then we should use it. The '&' works with MinGW GNU make (gmake), MSVC nmake. I have tried this both on cmd and bash shells. > >Let me know the desired behaviour (what out of source build means), I > >will be able to do that. > > > > > It means that you can do something like the following: > > mkdir emacs-build > cd emacs-build > make -f ../emacs-src/nt/Makefile > > and all the output files of the build process end up in emacs-build, > keeping the source tree clean. > > In addition to needing cd $(srcdir) in places, the fact that the nt > build files are in emacs-src/nt may compilcate matters. > > If you want to work on this, I'd do it on a branch for now, as changes > to the build system might disrupt any pretest that should be starting soon. I thought it was not working only for "info" target. Since it does not work for any of the other targets, I guess it needs lot of work. I do not have write access to CVS , so I will work on a local copy and give it a try. -dhruva -- Proud FSF member: #1935 http://schemer.fateback.com/