Mercurial > mxe-octave
changeset 5252:be9c49c6ccca
* src/ghostscript.mk: remove html manual if dep docs not enabled
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 01 Jan 2020 11:02:46 -0500 |
parents | c9157c501ddd |
children | 1a660724ea98 |
files | src/ghostscript.mk |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ghostscript.mk Wed Jan 01 10:43:20 2020 -0500 +++ b/src/ghostscript.mk Wed Jan 01 11:02:46 2020 -0500 @@ -41,5 +41,9 @@ $(MAKE) -C '$(1)/.build' -j '$(JOBS)' $(if $(BUILD_STATIC),libgs,so) $(MAKE) -C '$(1)/.build' prefix='$(HOST_PREFIX)' install + + if [ "x$(ENABLE_DEP_DOCS)" == "xno" ]; then \ + rm -f $(HOST_PREFIX)/share/doc/ghostscript/$($(PKG)_VERSION)/*.htm; \ + fi endef