[gs-commits] rev 11580 - trunk/gs/base

till at ghostscript.com till at ghostscript.com
Sat Jul 31 15:04:24 UTC 2010


Author: till
Date: 2010-07-31 15:04:24 +0000 (Sat, 31 Jul 2010)
New Revision: 11580

Modified:
   trunk/gs/base/unixinst.mak
Log:
No need to install Resources and iccprofiles if COMPILE_INITS=1

When COMPILE_INITS=1, the mentioned directories are not used and just waste
disk space and also confusing. Bug 689253.



Modified: trunk/gs/base/unixinst.mak
===================================================================
--- trunk/gs/base/unixinst.mak	2010-07-31 00:37:07 UTC (rev 11579)
+++ trunk/gs/base/unixinst.mak	2010-07-31 15:04:24 UTC (rev 11580)
@@ -54,7 +54,7 @@
 PSEXDIR=$(PSLIBDIR)/../examples
 PSMANDIR=$(PSLIBDIR)/../man
 
-install-data: install-libdata install-resdata install-iccdata install-doc install-man install-examples
+install-data: install-libdata install-resdata$(COMPILE_INITS) install-iccdata$(COMPILE_INITS) install-doc install-man install-examples
 
 # There's no point in providing a complete dependency list: we include
 # one file from each subdirectory just as a sanity check.
@@ -94,7 +94,7 @@
 # install the default resource files
 # copy in every category (directory) but CVS
 RES_CATEGORIES=`ls $(PSRESDIR) | grep -v CVS` 
-install-resdata: $(PSRESDIR)/Decoding/Unicode
+install-resdata0 : $(PSRESDIR)/Decoding/Unicode
 	-mkdir -p $(DESTDIR)$(datadir)
 	-mkdir -p $(DESTDIR)$(gsdir)
 	-mkdir -p $(DESTDIR)$(gsdatadir)/Resource
@@ -107,7 +107,7 @@
 	done'
 
 # install default iccprofiles
-install-iccdata: $(ICCRESDIR)
+install-iccdata0 : $(ICCRESDIR)
 	-mkdir -p $(DESTDIR)$(datadir)
 	-mkdir -p $(DESTDIR)$(gsdir)
 	-mkdir -p $(DESTDIR)$(gsdatadir)/iccprofiles
@@ -115,6 +115,12 @@
 	    if test -f $$file; then $(INSTALL_DATA) $$file $(DESTDIR)$(gsdatadir)/iccprofiles ; fi \
 	done'
 
+#COMPILE_INITS=1 don't need Resources, nor ICC
+
+install-resdata1 :
+
+install-iccdata1 :
+
 # install html documentation
 DOC_PAGES=PUBLIC README index.html gs.css \
 	   API.htm Bug-form.htm Bug-info.htm \



More information about the gs-commits mailing list