aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-Makefile
blob: 46f3411d4c2c7290bee0d67a74f48ea80dbb0222 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- Makefile.orig	Tue Jul 26 23:32:00 2005
+++ Makefile	Thu Nov 17 10:15:57 2005
@@ -43,12 +43,14 @@
 	@( cd doc && $(MAKE) ) || exit 1
 
 install::
+ifndef NOPORTDOCS
 	@if test -d doc ; \
 	then \
 	    ( cd doc && $(MAKE) install ) || exit 1 ; \
 	fi
-	$(call installdata,ICE_LICENSE,$(prefix))
-	$(call installdata,LICENSE,$(prefix))
+	$(call installdata,ICE_LICENSE,$(install_docdir))
+	$(call installdata,LICENSE,$(install_docdir))
+endif
 
 clean::
 	@if test -d doc ; \