Reversed dist archive arguments.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s

This commit is contained in:
Willem Cazander 2024-06-30 04:37:21 +02:00
parent f6cb4a1f9b
commit b99ad11836
2 changed files with 3 additions and 3 deletions

View file

@ -66,8 +66,8 @@ define mb_dos2unix
dos2unix -q -n $(1) $(2)
endef
define mb_create_dist
@echo === Creating distribution archive.
tar -czf $(1) -C $(2) `ls $(2)`
@echo === Creating distribution archive
tar -czf $(2) -C $(1) `ls $(1)`
endef
define mb_create_flight_video
@echo === Indexing flight videos

2
src/dist/0module.mk vendored
View file

@ -22,4 +22,4 @@ $(DIST_BIN)/ahello2.com: bin/ahello-sdcc/ahello.com | $(DIST_BIN)
$(DIST_BIN)/@prepare: | $(DIST_DEPS)
$(DIST_OUT): | $(DIST_BIN)/@prepare
$(call mb_create_dist,$(DIST_OUT),$(DIST_BIN))
$(call mb_create_dist,$(DIST_BIN),$@)