$NetBSD: patch-av,v 1.2 2005/03/03 12:01:30 garbled Exp $
--- Makefile.in.orig	2004-08-04 09:10:38.000000000 -0700
+++ Makefile.in	2004-10-15 09:38:33.000000000 -0700
@@ -712,10 +712,9 @@
 # Install adds ALL of the examples to the installation area
 # This is an initial version.
 install-all: install
-	(rm $(PREFIX)/examples/*)
-	-$(CPRP) -r examples $(PREFIX)
+	-$(CPRP) -r examples/* $(PREFIX)/share/examples/mpi-ch
 	# Update the makefiles
-	(cd $(PREFIX)/examples && \
+	(cd $(PREFIX)/share/examples/mpi-ch && \
 		$(bindir)/mpireconfig Makefile ; \
 		for dir in `find . -type d -print` ; do \
 			(cd $$dir && \
