From b99ad11836fbf0f5225d30445c43bd9a2ca85528 Mon Sep 17 00:00:00 2001 From: Willem Date: Sun, 30 Jun 2024 04:37:21 +0200 Subject: [PATCH] Reversed dist archive arguments. --- lib/make/msxbuild.mk | 4 ++-- src/dist/0module.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/make/msxbuild.mk b/lib/make/msxbuild.mk index 27082d5..fca5cec 100644 --- a/lib/make/msxbuild.mk +++ b/lib/make/msxbuild.mk @@ -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 diff --git a/src/dist/0module.mk b/src/dist/0module.mk index 7e532a0..166fc57 100644 --- a/src/dist/0module.mk +++ b/src/dist/0module.mk @@ -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),$@)