Used proper make for qa copy.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
This commit is contained in:
parent
5562fe0d7a
commit
54f8016ead
3 changed files with 20 additions and 24 deletions
16
test/dist/0module.mk
vendored
16
test/dist/0module.mk
vendored
|
|
@ -3,23 +3,23 @@ TEST_DIST_NAME := dist
|
|||
TEST_DIST_SRC := test/$(TEST_DIST_NAME)
|
||||
TEST_DIST_BIN := $(PATH_BIN)/test/$(TEST_DIST_NAME)
|
||||
TEST_DIST_OUT := $(PATH_BIN)/test/$(TEST_DIST_NAME).tar.gz
|
||||
TEST_DIST_INC := readme.txt
|
||||
BUILD_HELP += \\n\\t* $(TEST_DIST_OUT)
|
||||
TEST_DIST_DEPS := $(TEST_DIST_BIN)/readme.txt $(TEST_DIST_BIN)/ahello1.com $(TEST_DIST_BIN)/ahello2.com
|
||||
BUILD_HELP += \\n\\t* $(TEST_DIST_OUT)\\n\\t* test-dist-prepare
|
||||
|
||||
$(TEST_DIST_BIN):
|
||||
$(call mb_mkdir,$(TEST_DIST_BIN))
|
||||
|
||||
$(TEST_DIST_BIN)/readme.txt: $(TEST_DIST_SRC)/readme.txt | $(TEST_DIST_BIN)
|
||||
$(call mb_copy,$<,$@)
|
||||
$(call mb_unix2dos,$<,$@)
|
||||
|
||||
$(TEST_DIST_BIN)/ahello1.com: bin/test/ahello-m80/ahello.com | $(TEST_DIST_BIN)
|
||||
$(call mb_copy,$<,$@)
|
||||
|
||||
$(TEST_DIST_BIN)/ahello2.com: bin/test/ahello-sdcc/ahello.com | $(TEST_DIST_BIN)
|
||||
$(call mb_copy,$<,$@)
|
||||
|
||||
$(TEST_DIST_OUT): \
|
||||
$(TEST_DIST_BIN)/readme.txt \
|
||||
$(TEST_DIST_BIN)/ahello1.com \
|
||||
$(TEST_DIST_BIN)/ahello2.com
|
||||
|
||||
.PHONY: test-dist-prepare
|
||||
test-dist-prepare: | $(TEST_DIST_DEPS)
|
||||
|
||||
$(TEST_DIST_OUT): | test-dist-prepare
|
||||
$(call mb_create_dist,$(TEST_DIST_OUT),$(TEST_DIST_BIN))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue