$NetBSD: patch-aa,v 1.9 2005/11/16 22:36:40 rillig Exp $

--- Makefile.am.orig	2005-07-12 15:56:39.000000000 +0200
+++ Makefile.am
@@ -254,8 +254,8 @@ pkgdata_DATA = chicken-match-macros.scm 
 
 # Install docs and sources.
 install-data-local : chicken.html
-	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc
-	-for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/doc; done
+	$(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
+	-for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(prefix)/share/doc/chicken; done
 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
 chicken.html: chicken.texi
