From xemacs-m  Mon Sep 15 04:12:49 1997
Received: from mail.wr.com.au (wr.com.au [203.12.42.10])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA02385
	for <xemacs-beta@xemacs.org>; Mon, 15 Sep 1997 04:12:47 -0500 (CDT)
Received: from ishtar (dialup128.wr.com.au [203.12.42.228])
	by mail.wr.com.au (8.8.7/8.8.7) with SMTP id TAA14692;
	Mon, 15 Sep 1997 19:04:27 +1000 (EST)
Message-Id: <3.0.32.19970915191350.0092d190@wr.com.au>
X-Sender: davidh@wr.com.au
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Mon, 15 Sep 1997 19:14:03 +1000
To: "August Hill" <awhill@inlink.com>, "XEmacs Beta" <xemacs-beta@xemacs.org>
From: David Hobley <david.hobley@usa.net>
Subject: Re: [failed] 20.3b20 for NT
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

There are a couple of things here -

Firstly I stuffed the Makefile - it should read DOC_SRCS. Secondly - for
some reason, the make-docfile.el file can't seem to recognise lowercase
options.

What do people think ? I presume this is NT specific - but I don't see why
it should affect us.

Sorry I haven't had time to make some patches - I have a couple of
outstanding things to provide - definitely in time for the next beta :-)

Chris Kim identified this, and has provided this code fragment (presumably
the Makefile will need to be updated as well) -

...

Here is where I had to change to make it work (search for note:  to find
changes)


;; Gobble up the stuff we don't wish to pass on.
(setq command-line-args (cdr (cdr (cdr command-line-args)))) ;; note: I've
got rid
of one extra cdr
---------------------------------------------------------------
;; First gather up the command line options.
(let (done)
  (while (and (null done) command-line-args)
    (let ((arg (car command-line-args)))
      (cond ((or (string-equal arg "-o") ; Specify DOC file name
   (string-equal arg "-a") ; Append to DOC file
   (string-equal arg "-D")) ; Set working directory  ;; note: changed "-d"
to "-D"
because temacs didn't like lowercase option
      (if (string-equal arg "-o")
   (setq docfile (car (cdr command-line-args))))
      (setq options (cons arg options))
      (setq options (cons (car (cdr command-line-args)) options)))
     ((string-equal arg "-I") ; Set site files to scan.  note: changed "-i" to
"-I" because temacs didn't like lowercase option
      (setq site-file-list (car (cdr command-line-args))))
     (t (setq done t)))
      (if (null done)
   (setq command-line-args (cdr (cdr command-line-args)))))))
(setq options (nreverse options))

--------------------------------------------------------------




At 22:27 9/14/97 -0500, August Hill wrote:
> Did the nmake -f xemacs.mak and got the following:
>
>[lots snipped]
>
>
>        "..\src\temacs.exe -batch -l make-docfile.el -o ..\lib-src\DOC -d
>..\src -i ..\site-packages "
>
>
>temacs can only be run in -batch mode.
>NMAKE : fatal error U1077: '"..\src\temacs.exe -batch -l make-docfile.el -o
>..\l
>ib-src\DOC -d ..\src -i ..\site-packages "' : return code '0xffffffff'
>Stop.
>
>===
>
>For some reason temacs thinks it's not in batch mode.  The other thing that
>I'm wondering about is the line in xemacs.mak that is issuing this command.
>The line reads:
>
>$(DOC): $(OUTDIR)\make-docfile.exe
>    !"$(TEMACS) -batch -l make-docfile.el -o $(DOC) -d $(TEMACS_SRC) -i
>$(XEMACS
>)\site-packages $(DOC_SRC)"
>
>The macro DOC_SRC isn't defined, but DOC_SRCS is.
>
>
>Thoughts?
>
>August
>
>
>
>
--
Cheers,
david			http://www.angelfire.com/wa/hobley

