From xemacs-m  Thu Apr 10 12:59:20 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA25539
	for <xemacs-beta@xemacs.org>; Thu, 10 Apr 1997 12:59:17 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id LAA20078;
	Thu, 10 Apr 1997 11:12:10 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: 20.1b12 Makefile problem
References: <E0wFJBL-0006lN-00@chekov.ctd.comsat.com> 	<rvragiameu.fsf@sdnp5.ucsd.edu> <199704101612.KAA05009@branagh.ta52.lanl.gov> <rvpvw2ajln.fsf@sdnp5.ucsd.edu>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: David Moore's message of 10 Apr 1997 10:11:31 -0700
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 10 Apr 1997 11:12:08 -0700
Message-ID: <m2n2r6karr.fsf@altair.xemacs.org>
Lines: 35
X-Mailer: Gnus v5.4.42/XEmacs 20.1(beta14)

David Moore <dmoore@ucsd.edu> writes:

> Ok, if your xemacs-version.h is wrong, could you try this patch to the
> Makefile, remove the existing xemacs-version.h, and confirm that it
> works this time.

> [2 Makefile.diff <application/octet-stream>]

Oops.  Here's this patch applied to src/Makefile.in.in so it won't go
away at the next configure.

Index: src/Makefile.in.in
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/src/Makefile.in.in,v
retrieving revision 1.16
diff -u -r1.16 Makefile.in.in
--- Makefile.in.in	1997/04/10 05:56:29	1.16
+++ Makefile.in.in	1997/04/10 18:05:57
@@ -1589,10 +1589,8 @@
 	exit 1
 
 /* Cover your eyes, please */
-xemacs-version.h: ${lispdir}version.el
-	@echo "#define main_1 xemacs_`grep emacs-version ${lispdir}version.el | sed 's/.*\"\(.*\)\.\(.*\)\"/\1_\2/ \
-1q'`_`grep -i xemacs.*lucid.*beta ${lispdir}version.el | sed 's/.*\(beta[0-9]*\).*/\1/ \
-1q'`" > xemacs-version.h
+xemacs-version.h: ../lisp/version.el
+	@echo "#define main_1 xemacs_`grep emacs-version ../lisp/version.el | sed -e 's/.*\"\(.*\)\.\(.*\)\"/\1_\2/' -e 1q`_`grep -i xemacs.*lucid.*beta ../lisp/version.el | sed -e 's/.*\(beta[0-9]*\).*/\1/' -e 1q`" > xemacs-version.h
 
 
 /* Some machines have alloca built-in.

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

