$NetBSD: patch-aw,v 1.5 2003/03/03 11:35:01 seb Exp $

--- tclpathplan/demo/Makefile.in.orig	2003-03-02 20:12:23.000000000 +0000
+++ tclpathplan/demo/Makefile.in
@@ -208,7 +208,7 @@ AUTOMAKE_OPTIONS = 1.4
 
 SUBDIRS = pathplan_data
 
-demodir = $(datadir)/@PACKAGE@/demo
+demodir = $(prefix)/share/examples/@PACKAGE@
 demo_SCRIPTS = pathplan
 demo_DATA = pathplan.README 
 
@@ -219,6 +219,7 @@ CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
 SCRIPTS = $(demo_SCRIPTS)
 
+depcomp =
 DIST_SOURCES =
 DATA = $(demo_DATA)
 
@@ -243,7 +244,7 @@ distclean-libtool:
 	-rm -f libtool
 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  tclpathplan/demo/Makefile
+	  $(AUTOMAKE) --foreign  --ignore-deps tclpathplan/demo/Makefile
 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
 	cd $(top_builddir) && \
 	  CONFIG_HEADERS= CONFIG_LINKS= \
