aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-Makefile
blob: 9a28e26957d5510d40400b9bfd1ca501ddc186ff (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
--- Makefile.orig	Fri May 21 16:33:04 2004
+++ Makefile	Thu Jul 22 19:46:03 2004
@@ -49,12 +49,14 @@
 	    chmod a+rx $(install_slicedir) ; \
 	fi
 
+ifndef NOPORTDOCS
 	@if test ! -d $(install_docdir) ; \
 	then \
 	    echo "Creating $(install_docdir)..." ; \
 	    mkdir $(install_docdir) ; \
 	    chmod a+rx $(install_docdir) ; \
 	fi
+endif
 
 $(EVERYTHING)::
 	@for subdir in $(SUBDIRS); \
@@ -67,9 +69,11 @@
 	@( cd doc && $(MAKE) ) || exit 1
 
 install::
+ifndef NOPORTDOCS
 	@( cd doc && $(MAKE) install ) || exit 1
-	$(INSTALL) ICE_LICENSE $(prefix)
-	$(INSTALL) LICENSE $(prefix)
+	$(INSTALL) ICE_LICENSE $(install_docdir)
+	$(INSTALL) LICENSE $(install_docdir)
+endif
 
 clean::
 	@( cd doc && $(MAKE) clean ) || exit 1