Mercurial > mxe-octave
changeset 3467:9ea85a4191a1
* binary-dist-rules.mk: Don't exclude files in native builds.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 Jan 2014 14:25:58 -0500 |
parents | cf594095a7dc |
children | 24356fc32aa0 |
files | binary-dist-rules.mk |
diffstat | 1 files changed, 21 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/binary-dist-rules.mk Tue Jan 28 04:08:34 2014 -0500 +++ b/binary-dist-rules.mk Tue Jan 28 14:25:58 2014 -0500 @@ -34,15 +34,27 @@ mkdir -p $(OCTAVE_DIST_DIR) endef -define generate-dist-exclude-list - echo "generating lists of files to exclude..." - echo " native files..." - echo "./$(TARGET)" > $(TOP_DIR)/excluded-native-files - echo "./bin/$(TARGET)-*.exe" >> $(TOP_DIR)/excluded-native-files - echo " gcc cross compiler files..." - cd $(TOP_DIR)/cross-tools/$(HOST_PREFIX) \ - && find . -type f -o -type l | sed "s,./,," > $(TOP_DIR)/excluded-gcc-files -endef +ifeq ($(MXE_NATIVE_BUILD),yes) + define generate-dist-exclude-list + echo "generating (empty) lists of files to exclude..." + echo " native files..." + rm -f $(TOP_DIR)/excluded-native-files + touch $(TOP_DIR)/excluded-native-files + echo " gcc cross compiler files..." + rm -f $(TOP_DIR)/excluded-gcc-files + touch $(TOP_DIR)/excluded-gcc-files + endef +else + define generate-dist-exclude-list + echo "generating lists of files to exclude..." + echo " native files..." + echo "./$(TARGET)" > $(TOP_DIR)/excluded-native-files + echo "./bin/$(TARGET)-*.exe" >> $(TOP_DIR)/excluded-native-files + echo " gcc cross compiler files..." + cd $(TOP_DIR)/cross-tools/$(HOST_PREFIX) \ + && find . -type f -o -type l | sed "s,./,," > $(TOP_DIR)/excluded-gcc-files + endef +endif define copy-dist-files echo "copying files..."