aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-Makefile
blob: b0099528c0cfc5eca07b3f6172d193647aed0059 (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
--- Makefile.orig	Tue Jul  5 19:58:47 2005
+++ Makefile	Tue Jul  5 19:59:39 2005
@@ -44,11 +44,13 @@
 	    $(call mkdir,$(install_slicedir)) ; \
 	fi
 
+ifndef NOPORTDOCS
 	@if test ! -d $(install_docdir) ; \
 	then \
 	    echo "Creating $(install_docdir)..." ; \
 	    $(call mkdir,$(install_docdir)) ; \
 	fi
+endif
 
 $(EVERYTHING)::
 	@for subdir in $(SUBDIRS); \
@@ -61,9 +63,11 @@
 	@( cd doc && $(MAKE) ) || exit 1
 
 install::
+ifndef NOPORTDOCS
 	@( cd doc && $(MAKE) install ) || exit 1
-	$(call installdata,ICE_LICENSE,$(prefix))
-	$(call installdata,LICENSE,$(prefix))
+	$(call installdata,ICE_LICENSE,$(install_docdir))
+	$(call installdata,LICENSE,$(install_docdir))
+endif
 
 clean::
 	@( cd doc && $(MAKE) clean ) || exit 1