aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cppunit/files/patch-doc::Makefile.in
blob: 1b4a4017e60e31412f68df7a5d84ebbe202ab0c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- doc/Makefile.in.orig	2008-02-20 00:59:51.000000000 -0500
+++ doc/Makefile.in	2008-07-13 18:52:35.000000000 -0400
@@ -179,7 +179,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
 htmldir = @htmldir@
 includedir = @includedir@
 infodir = @infodir@
@@ -248,6 +248,7 @@
 	-rm -rf .libs _libs
 install-htmlDATA: $(html_DATA)
 	@$(NORMAL_INSTALL)
+.if !defined(NOPORTDOCS)
 	test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
 	@list='$(html_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
@@ -255,6 +256,7 @@
 	  echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
 	  $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
 	done
+.endif
 
 uninstall-htmlDATA:
 	@$(NORMAL_UNINSTALL)
@@ -398,7 +400,7 @@
 
 
 @DOC_TRUE@install-data-hook:
-@DOC_TRUE@	cp -pR html/* $(DESTDIR)$(htmldir)
+@DOC_TRUE@	cp -pR html/ $(DESTDIR)$(htmldir)
 
 # Automake's "distcheck" is sensitive to having files left over
 # after "make uninstall", so we have to clean up the install hook.