# HG changeset patch # User John W. Eaton # Date 1392880101 18000 # Node ID f32ee23a7261cb9232d158ccdba26d983b5aa854 # Parent d02a04017e44006f750d26e0863041f6d05f8be5 only copy DLL files if doing a Windows build diff -r d02a04017e44 -r f32ee23a7261 binary-dist-rules.mk --- 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 - )