Mercurial > mxe-octave
changeset 3544:f32ee23a7261
only copy DLL files if doing a Windows build
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Feb 2014 02:08:21 -0500 |
parents | d02a04017e44 |
children | c21ca79d7980 |
files | binary-dist-rules.mk |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/binary-dist-rules.mk Wed Feb 19 17:05:18 2014 -0500 +++ b/binary-dist-rules.mk Thu Feb 20 02:08:21 2014 -0500 @@ -45,14 +45,14 @@ 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 - echo " DLL files..." - cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/*.dll $(OCTAVE_DIST_DIR)/bin - cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/*.dll $(OCTAVE_DIST_DIR)/bin - cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/4.8.2/*.dll $(OCTAVE_DIST_DIR)/bin endef ifeq ($(MXE_WINDOWS_BUILD),yes) define copy-windows-dist-files + echo " DLL files..." + cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/*.dll $(OCTAVE_DIST_DIR)/bin + cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/*.dll $(OCTAVE_DIST_DIR)/bin + cp $(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/4.8.2/*.dll $(OCTAVE_DIST_DIR)/bin echo " msys base files..." cd $(TOP_DIR)/msys-base \ && tar -c $(TAR_H_OPTION) -f - . | ( cd $(OCTAVE_DIST_DIR) ; tar xpf - )