summaryrefslogtreecommitdiff
blob: d591677b99c464224804e39305b0d9036ae74cad (plain)
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
--- tvmet-1.7.2.orig/doc/Makefile.in	2007-06-23 18:00:27.000000000 +0200
+++ tvmet-1.7.2/doc/Makefile.in	2008-06-07 16:47:29.000000000 +0200
@@ -667,20 +680,20 @@
 # Automake's "distcheck" is sensitive to having files left over
 # after "make uninstall", so we have to clean up the install hook.
 @CONFIG_DOC_TRUE@uninstall-local:
-@CONFIG_DOC_TRUE@	@if test -d $(TVMET_DOC_DIR); then \
-@CONFIG_DOC_TRUE@		rm -rf $(TVMET_DOC_DIR); \
+@CONFIG_DOC_TRUE@	@if test -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
+@CONFIG_DOC_TRUE@		rm -rf $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
 @CONFIG_DOC_TRUE@	fi
 
 # Install hooks
 @CONFIG_DOC_TRUE@make-install-dirs:
-@CONFIG_DOC_TRUE@	@if test '!' -d $(TVMET_DOC_DIR); then \
-@CONFIG_DOC_TRUE@		$(mkinstalldirs) $(TVMET_DOC_DIR); \
+@CONFIG_DOC_TRUE@	@if test '!' -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
+@CONFIG_DOC_TRUE@		$(mkinstalldirs) $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
 @CONFIG_DOC_TRUE@	fi
 
 @CONFIG_DOC_TRUE@install-data-hook: make-install-dirs
-@CONFIG_DOC_TRUE@	@echo Installing documentations into $(TVMET_DOC_DIR)
+@CONFIG_DOC_TRUE@	@echo Installing documentations into $(DESTDIR)/$(TVMET_DOC_DIR)/html
 @CONFIG_DOC_TRUE@	@echo "install html"
-@CONFIG_DOC_TRUE@	@$(INSTALL_DATA) @top_builddir@/doc/html/* $(TVMET_DOC_DIR)
+@CONFIG_DOC_TRUE@	@$(INSTALL_DATA) @top_builddir@/doc/html/* $(DESTDIR)/$(TVMET_DOC_DIR)/html
 
 @CONFIG_DOC_FALSE@doc-dist:
 @CONFIG_DOC_FALSE@install-data-hook: