--- doc/Makefile.in.orig	Wed Aug 25 01:38:04 2004
+++ doc/Makefile.in	Sun Nov 28 18:55:37 2004
@@ -232,8 +232,8 @@ mostlyclean distclean maintainer-clean
 
 
 install-data-local:
-	$(INSTALL) -m 755 -d $(prefix)/doc/libpcre++-$(VERSION)
-	$(INSTALL) -m 644 $(DOC_FILES) $(prefix)/doc/libpcre++-$(VERSION)/
+	$(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/share/doc/pcre++
+	$(INSTALL) -m 644 $(DOC_FILES) $(DESTDIR)$(prefix)/share/doc/pcre++/
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
