test/make/TestCopyFiles.gmk
changeset 47879 3812717dc3e9
parent 47751 f7e430cbfe34
child 54380 e297c7bb6469
equal deleted inserted replaced
47878:8794b5061a3e 47879:3812717dc3e9
    50 	$(MKDIR) -p $(SRC_DIR)/foo
    50 	$(MKDIR) -p $(SRC_DIR)/foo
    51 	$(TOUCH) $(SRC_DIR)/file
    51 	$(TOUCH) $(SRC_DIR)/file
    52 	$(TOUCH) $(SRC_DIR)/foo/foofile
    52 	$(TOUCH) $(SRC_DIR)/foo/foofile
    53 	$(TOUCH) "$(SRC_DIR)/foo/foo file"
    53 	$(TOUCH) "$(SRC_DIR)/foo/foo file"
    54         # Spaces in directories only works with gnu make 4.0 or later
    54         # Spaces in directories only works with gnu make 4.0 or later
    55         ifeq (4.0dfd, $(firstword $(sort 4.0 $(MAKE_VERSION))))
    55         ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION))))
    56 	  $(MKDIR) -p "$(SRC_DIR)/foo bar"
    56 	  $(MKDIR) -p "$(SRC_DIR)/foo bar"
    57 	  $(TOUCH) "$(SRC_DIR)/foo bar/foobarfile"
    57 	  $(TOUCH) "$(SRC_DIR)/foo bar/foobarfile"
    58 	  $(TOUCH) "$(SRC_DIR)/foo bar/foo bar file"
    58 	  $(TOUCH) "$(SRC_DIR)/foo bar/foo bar file"
    59         endif
    59         endif
    60 	$(LN) -s file "$(SRC_DIR)/link to file"
    60 	$(LN) -s file "$(SRC_DIR)/link to file"