diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2010-07-31 15:04:24 +0000 |
---|---|---|
committer | Till Kamppeter <till.kamppeter@gmail.com> | 2010-07-31 15:04:24 +0000 |
commit | 2e066f7588b0009d4e4a0074bb38296a9ef6d7cb (patch) | |
tree | e869df85f2a19fb5d927e1c9fb3190f436b62dc4 /gs/base/unixinst.mak | |
parent | 7c388d726ab3ebe5331e53048f5348408dd70f1d (diff) |
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.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11580 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/unixinst.mak')
-rw-r--r-- | gs/base/unixinst.mak | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gs/base/unixinst.mak b/gs/base/unixinst.mak index 115fbf4c9..a92bb9112 100644 --- a/gs/base/unixinst.mak +++ b/gs/base/unixinst.mak @@ -54,7 +54,7 @@ PSDOCDIR=$(PSLIBDIR)/../doc 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 @@ pdf2dsc.ps pdfopt.ps ;\ # 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 @@ install-resdata: $(PSRESDIR)/Decoding/Unicode 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 @@ install-iccdata: $(ICCRESDIR) 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 \ |