$NetBSD: patch-aa,v 1.11 2007/01/02 13:49:01 obache Exp $

--- Makefile.am.orig	2006-10-02 08:15:40.000000000 +0200
+++ Makefile.am
@@ -290,10 +290,10 @@ regex.exports: $(regexexports)
 
 # 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.
