$OpenBSD: patch-demo_Makefile,v 1.4 2010/09/22 08:42:53 landry Exp $
--- demo/Makefile.orig	Fri Jul 25 15:41:41 2008
+++ demo/Makefile	Mon Sep 13 21:10:56 2010
@@ -84,12 +84,12 @@ clean:
 	for i in $(DIRS); do $(MAKE) -C $$i clean || exit 1; done
 
 install:
-	$(IDIRCMD) $(INSTDIR)/doc/mico/examples
+	$(IDIRCMD) $(SHARED_INSTDIR)/doc/mico/examples
 	sed -e s/@MICO_VERSION@/$(VERSION)/g \
 		< MakeVars.install > MakeVars.install.ver
-	$(ISRCCMD) MakeVars.install.ver $(INSTDIR)/doc/mico/examples/MakeVars
+	$(ISRCCMD) MakeVars.install.ver $(SHARED_INSTDIR)/doc/mico/examples/MakeVars
 	rm -f MakeVars.install.ver
-	$(ISRCCMD) README $(INSTDIR)/doc/mico/examples
+	$(ISRCCMD) README $(SHARED_INSTDIR)/doc/mico/examples
 	for i in $(INST_DIRS); do $(MAKE) -C $$i install || exit 1; done
 
 install-cd: install
