Mercurial > mxe-octave
changeset 6483:0e97f4f427b9
* src/flac.mk, src/pkg-config.mk: allow remove of installed docs
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 28 Oct 2022 15:10:36 -0400 |
parents | c82f5aeb504c |
children | 5facfed811ca |
files | src/flac.mk src/pkg-config.mk |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/flac.mk Fri Oct 28 15:10:35 2022 -0400 +++ b/src/flac.mk Fri Oct 28 15:10:36 2022 -0400 @@ -31,4 +31,8 @@ --disable-oggtest $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) VERBOSE=1 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' + + if [ "x$(ENABLE_DEP_DOCS)" == "xno" ]; then \ + rm -rf $(3)/$(HOST_PREFIX)/share/doc/flac; \ + fi endef
--- a/src/pkg-config.mk Fri Oct 28 15:10:35 2022 -0400 +++ b/src/pkg-config.mk Fri Oct 28 15:10:36 2022 -0400 @@ -35,5 +35,5 @@ --with-pc_path='$(HOST_LIBDIR)/pkgconfig' \ --prefix='$(HOST_PREFIX)' $(MAKE) -C '$(1).build' V=1 -j 1 - $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' + $(MAKE) -C '$(1).build' -j 1 install $(MXE_DISABLE_DOCS) DESTDIR='$(3)' endef