From xemacs-m  Mon Mar  3 00:56:50 1997
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5])
	by xemacs.org (8.8.5/8.8.5) with SMTP id AAA16985
	for <xemacs-beta@xemacs.org>; Mon, 3 Mar 1997 00:56:49 -0600 (CST)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id WAA18327; Sun, 2 Mar 1997 22:56:16 -0800
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id WAA16176; Sun, 2 Mar 1997 22:56:15 -0800
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id WAA18870; Sun, 2 Mar 1997 22:56:14 -0800
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id WAA05450; Sun, 2 Mar 1997 22:56:12 -0800
Date: Sun, 2 Mar 1997 22:56:12 -0800
Message-Id: <199703030656.WAA05450@xemacs.eng.sun.com>
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: XEmacs Beta Test <xemacs-beta@xemacs.org>
Subject: PATCH: auc-tex XEmacs Makefile patch for non-GNU make.
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII

This allows the auctex directory elisp files to be rebuilt properly on
Solaris using Sun's make.  `make' tends to be run via update-elc.sh
even if you invoke `gnumake all-elc'.  This avoids the errors:

make: Fatal error: Don't know how to make target `auc-old.elc'
make: Fatal error: Don't know how to make target `style/*.elc'

Martin

*** /tmp/geta14649	Sun Mar  2 22:50:26 1997
--- Makefile	Sun Mar  2 22:49:37 1997
***************
*** 57,62 ****
--- 57,64 ----
  ##  BELOW THIS LINE ON YOUR OWN RISK!
  ##----------------------------------------------------------------------
  
+ .SUFFIXES: .el .elc .texi 
+ 
  SHELL = /bin/sh
  
  FTPDIR = /home/ftp/pub/Staff/Per.Abrahamsen/auctex
***************
*** 86,91 ****
--- 88,94 ----
  	   style/jarticle.el  style/jbook.el    style/jreport.el \
  	   style/dinbrief.el  style/virtex.el   style/plfonts.el \
  	   style/plhb.el      style/harvard.el	style/swedish.el
+ STYLEELC = $(STYLESRC:.el=.elc)
  
  DOCFILES = doc/Makefile doc/auc-tex.texi doc/intro.texi doc/install.texi \
  	doc/changes.texi doc/tex-ref.tex doc/math-ref.tex doc/history.texi
***************
*** 98,104 ****
  lisp:
  	$(ELC) $(AUCSRC) $(STYLESRC) $(CONTRIB)
  
! some:	$(AUCELC) style/*.elc
  
  install:	install-lisp
  
--- 101,107 ----
  lisp:
  	$(ELC) $(AUCSRC) $(STYLESRC) $(CONTRIB)
  
! some:	$(AUCELC) $(STYLEELC)
  
  install:	install-lisp
  

