Fix documentation building for version 1.8.0

PR:		ports/48637
Submitted by:	lev
Reviewed by:	maintainer
Approved by:	sobomax
This commit is contained in:
Lev A. Serebryakov 2003-06-28 17:45:17 +00:00
parent 5759747096
commit d9abc1cdc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83779

View File

@ -0,0 +1,20 @@
--- doc/Makefile.in.orig Mon Feb 24 13:30:22 2003
+++ doc/Makefile.in Mon Feb 24 13:31:51 2003
@@ -108,7 +108,7 @@
# and an extra copy or two in the install-data-hook.
# However, the manpages do not appear to be tremendously useful, so
# let's not bother.
-@DOC_TRUE@htmldir = $(pkgdatadir)/html
+@DOC_TRUE@htmldir = $(prefix)/share/doc/cppunit
@DOC_TRUE@html_DATA = $(static_pages) html/index.html
subdir = doc
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
@@ -263,7 +263,7 @@
@DOC_TRUE@install-data-hook:
-@DOC_TRUE@ cp -dpR html/* $(DESTDIR)$(htmldir)
+@DOC_TRUE@ cp -pR html/* $(htmldir)
# Automake's "distcheck" is sensitive to having files left over
# after "make uninstall", so we have to clean up the install hook.