From xemacs-m  Tue Mar 18 02:49:54 1997
Received: from web2.ndsoft.com (root@web2.ndsoft.com [199.203.68.30])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA04665
	for <xemacs-beta@xemacs.org>; Tue, 18 Mar 1997 02:49:47 -0600 (CST)
Received: from romeo.ndsoft.com (romeo [194.90.171.61])
	by web2.ndsoft.com (8.8.5/8.8.5) with SMTP id LAA08708
	for <xemacs-beta@xemacs.org>; Tue, 18 Mar 1997 11:52:44 +0300
Received: from ndsoft.com (piccard) by romeo.ndsoft.com (4.1/SMI-4.1)
	id AA12154; Tue, 18 Mar 97 09:49:58 IST
Received: by ndsoft.com (4.1/SMI-4.1)
	id AA13104; Tue, 18 Mar 97 10:49:58 IDT
Date: Tue, 18 Mar 97 10:49:58 IDT
Message-Id: <9703180749.AA13104@ndsoft.com>
From: "Amir J. Katz" <amir@piccard.ndsoft.com>
Mime-Version: 1.0
Content-Type: multipart/mixed;
	boundary="nuclear-Noriega-9mgX/2oC3lMcSYbqvaL1"
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org (XEmacs Beta List)
Subject: b99 patches for 'make all-elc' problem (part 1/2)
Reply-To: amir@ndsoft.com
X-Attribution: AJK
X-Phone: +972-3-645-1145
X-Fax: +972-3-645-1100
X-Www-Homepage: http://www.ndsoft.com
X-Face:  ##A>t)R3?k=s5sw'(<v}xy5K8i]2+gl@^A7,ZN.8v5,).3hzG^rRmob&I-^&2m>5K\s3KSk+iIbgHIrS_8k}#}MVff9#>t4r!a>yp<qFqhM>pweVJ!^S<@teMIaDDU(gXk!,)m]o|"X
X-Bogus-Quote: "


--nuclear-Noriega-9mgX/2oC3lMcSYbqvaL1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

After applying Steven's patch, I made some progress, but I had to
tweak the code some more.
Here's a patch for two files: 
  lib-src/update-elc.sh
  lisp/ediff/Makefile

Also, Steve, please make sure that all Makefile that invoke emacs
for batch byte-compilations are invoked with '-q -no-site-file' and
not just '-q'.



--nuclear-Noriega-9mgX/2oC3lMcSYbqvaL1
Content-Type: text/plain
Content-Description: context-diff
Content-Disposition: inline;
	filename="PATCH-AJK"
Content-Transfer-Encoding: 7bit

*** lib-src/update-elc.sh.orig-b99	Sun Mar 16 13:55:54 1997
--- lib-src/update-elc.sh	Tue Mar 18 10:30:25 1997
***************
*** 57,63 ****
  echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`"
  echo "          with $REAL..."
  
! $EMACS -batch -q -no-site-file -l cleantree -f batch-remove-old-elc lisp
  
  prune_vc="( -name SCCS -o -name RCS -o -name CVS ) -prune -o"
  
--- 57,63 ----
  echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`"
  echo "          with $REAL..."
  
! $EMACS -batch -q -no-site-file -l `pwd`/lisp/prim/cleantree -f batch-remove-old-elc lisp
  
  prune_vc="( -name SCCS -o -name RCS -o -name CVS ) -prune -o"
  
--- lisp/ediff/Makefile.orig	Tue Mar 18 10:37:29 1997
+++ lisp/ediff/Makefile	Tue Mar 18 10:38:12 1997
@@ -62,51 +62,51 @@
 
 ediff-init.elc: ediff-init.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-init.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-init.el
 
 ediff-help.elc: ediff-help.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-help.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-help.el
 
 ediff-hook.elc: ediff-hook.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-hook.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-hook.el
 
 ediff-tbar.elc: ediff-tbar.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-tbar.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-tbar.el
 
 ediff-diff.elc: ediff-init.el ediff-diff.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-diff.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-diff.el
 
 ediff-merg.elc: ediff-init.el ediff-merg.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-merg.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-merg.el
 
 ediff-mult.elc: ediff-init.el ediff-mult.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-mult.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-mult.el
 
 ediff-vers.elc: ediff-init.el ediff-vers.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-vers.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-vers.el
 
 ediff-ptch.elc: ediff-init.el ediff-ptch.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-ptch.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-ptch.el
 
 ediff.elc: ediff-init.el ediff.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff.el
 
 ediff-util.elc: ediff-init.el ediff-util.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-util.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-util.el
 
 ediff-wind.elc: ediff-init.el ediff-wind.el
 	@echo ""
-	$(EMACS) -batch -f batch-byte-compile ediff-wind.el
+	$(EMACS) -batch -q -no-site-file -f batch-byte-compile ediff-wind.el
 
 ediff.dvi: ediff.texi
 	@echo ""

--nuclear-Noriega-9mgX/2oC3lMcSYbqvaL1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


-- 
/* Amir J. Katz  E-mail: amir@ndsoft.com   URL: http://www.ndsoft.com */
/* EagleEye Control Software, LTD., Tel-Aviv, Israel                  */
/* .. I busted a mirror and got seven years bad luck, but my        ..*/
/* .. lawyer thinks he can get me five.        (Steven Wright)      ..*/

--nuclear-Noriega-9mgX/2oC3lMcSYbqvaL1--

