$NetBSD: patch-aa,v 1.1 2003/01/11 08:53:05 uebayasi Exp $

--- makefile.orig	Mon Dec 30 14:28:06 2002
+++ makefile
@@ -9,10 +9,10 @@
 EMACS = emacs
 
 # Default locations of the packages required to compile the JDE.
-EIEIO = ../../eieio
-ELIB  = ../../elib
-SEMANTIC = ../../semantic
-SPEEDBAR = ../../speedbar
+EIEIO = ${EMACS_LISPPREFIX}/eieio
+ELIB  = ${EMACS_LISPPREFIX}/elib
+SEMANTIC = ${EMACS_LISPPREFIX}/semantic
+SPEEDBAR = ${EMACS_LISPPREFIX}/speedbar
 
 all:
 	test -d $(SEMANTIC) -a -d $(SPEEDBAR) -a -d $(ELIB) -a -d $(EIEIO)
@@ -25,7 +25,7 @@
 	echo "(setq debug-on-error t)" >> jde-compile-script-init
 	echo "(require 'jde-compat)" >> jde-compile-script-init
 	echo "(require 'jde)" >>jde-compile-script-init
-	$(EMACS) -batch -l jde-compile-script-init -f batch-byte-compile *.el
+	-$(EMACS) -batch -l jde-compile-script-init -f batch-byte-compile *.el
 	rm -f jde-compile-script-init
 
 # 
