$NetBSD: patch-aa,v 1.12 2007/04/17 15:03:30 obache Exp $

--- Makefile.am.orig	2007-02-26 07:05:57.000000000 +0000
+++ Makefile.am
@@ -298,10 +298,10 @@ pkgdata_DATA = chicken-more-macros.scm \
 
 # Install docs and sources.
 install-data-local:
-	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc
-	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc/html
-	-for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/doc; done
-	-cp $(srcdir)/html/* $(DESTDIR)$(pkgdatadir)/doc/html
+	$(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
+	$(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken/html
+	-for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(prefix)/share/doc/chicken; done
+	-cp $(srcdir)/html/* $(DESTDIR)$(prefix)/share/doc/chicken/html
 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)/$(BINARY_VERSION)
 
 # Some generated files we need to clean up.
