Mercurial > mxe-octave
diff binary-dist-rules.mk @ 4078:e5e0b3f7244b
Dont copy src directory if binary packages enabled
* changed binary-dist-rules.mk: copy-dist-files, copy src only if ENABLE_BINARY_PACKAGES=no
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 10 Jan 2016 08:13:04 -0500 |
parents | 0962acdde3be |
children | 0db86306c404 |
line wrap: on
line diff
--- a/binary-dist-rules.mk Sun Jan 10 08:08:20 2016 -0500 +++ b/binary-dist-rules.mk Sun Jan 10 08:13:04 2016 -0500 @@ -50,8 +50,10 @@ && tar -c $(TAR_H_OPTION) -f - . | ( cd $(OCTAVE_DIST_DIR) ; tar xpf - ) echo " octaverc file..." cp $(TOP_DIR)/octaverc $(OCTAVE_DIST_DIR)/share/octave/site/m/startup/octaverc - echo " build_packages.m..." - cp $(TOP_DIR)/build_packages.m $(OCTAVE_DIST_DIR)/src + if [ $(ENABLE_BINARY_PACKAGES) = no ]; then \ + echo " build_packages.m..."; \ + cp $(TOP_DIR)/build_packages.m $(OCTAVE_DIST_DIR)/src; \ + fi endef ifeq ($(MXE_WINDOWS_BUILD),yes)