comparison binary-dist-rules.mk @ 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
comparison
equal deleted inserted replaced
3466:cf594095a7dc 3467:9ea85a4191a1
32 define make-dist-directory 32 define make-dist-directory
33 echo "creating dist directory..." 33 echo "creating dist directory..."
34 mkdir -p $(OCTAVE_DIST_DIR) 34 mkdir -p $(OCTAVE_DIST_DIR)
35 endef 35 endef
36 36
37 define generate-dist-exclude-list 37 ifeq ($(MXE_NATIVE_BUILD),yes)
38 echo "generating lists of files to exclude..." 38 define generate-dist-exclude-list
39 echo " native files..." 39 echo "generating (empty) lists of files to exclude..."
40 echo "./$(TARGET)" > $(TOP_DIR)/excluded-native-files 40 echo " native files..."
41 echo "./bin/$(TARGET)-*.exe" >> $(TOP_DIR)/excluded-native-files 41 rm -f $(TOP_DIR)/excluded-native-files
42 echo " gcc cross compiler files..." 42 touch $(TOP_DIR)/excluded-native-files
43 cd $(TOP_DIR)/cross-tools/$(HOST_PREFIX) \ 43 echo " gcc cross compiler files..."
44 && find . -type f -o -type l | sed "s,./,," > $(TOP_DIR)/excluded-gcc-files 44 rm -f $(TOP_DIR)/excluded-gcc-files
45 endef 45 touch $(TOP_DIR)/excluded-gcc-files
46 endef
47 else
48 define generate-dist-exclude-list
49 echo "generating lists of files to exclude..."
50 echo " native files..."
51 echo "./$(TARGET)" > $(TOP_DIR)/excluded-native-files
52 echo "./bin/$(TARGET)-*.exe" >> $(TOP_DIR)/excluded-native-files
53 echo " gcc cross compiler files..."
54 cd $(TOP_DIR)/cross-tools/$(HOST_PREFIX) \
55 && find . -type f -o -type l | sed "s,./,," > $(TOP_DIR)/excluded-gcc-files
56 endef
57 endif
46 58
47 define copy-dist-files 59 define copy-dist-files
48 echo "copying files..." 60 echo "copying files..."
49 echo " octave and dependencies..." 61 echo " octave and dependencies..."
50 cd $(HOST_PREFIX) \ 62 cd $(HOST_PREFIX) \