Fixed: Anki decks were not included into .zip release. v0.20
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 01 Sep 2021 11:00:18 +0300
changeset 1322 59b94ff17754
parent 1321 f47557c2ba83
child 1323 eebfe3018e1c
Fixed: Anki decks were not included into .zip release.
Makefile
--- a/Makefile	Wed Sep 01 10:47:27 2021 +0300
+++ b/Makefile	Wed Sep 01 11:00:18 2021 +0300
@@ -423,11 +423,13 @@
 DISTREL_SRS_TAB_FILES := $(patsubst %,dist/$(fullpkgname)/srs/%,$(notdir $(SRS_TAB_FILES)))
 DISTREL_SRS_ANKI_FILES := $(patsubst %,dist/$(fullpkgname)/anki/%,$(notdir $(SRS_ANKI_FILES)))
 
-dist/$(fullpkgname).tar.gz: $(DISTREL_DICTDZ_FILES) $(DISTREL_INDEX_FILES) $(DISTREL_SRS_ANKI_FILES) $(DISTREL_RST_FILES) $(DISTREL_WWW_HTML_FILES) $(BUILD_SCRIPTS)
+DISTREL_DEP := $(DISTREL_DICTDZ_FILES) $(DISTREL_INDEX_FILES) $(DISTREL_SRS_ANKI_FILES) $(DISTREL_RST_FILES) $(DISTREL_WWW_HTML_FILES) $(BUILD_SCRIPTS)
+
+dist/$(fullpkgname).tar.gz: $(DISTREL_DEP)
 	rm -rf $@
 	tar zcf $@ -C dist/ $(fullpkgname)
 
-dist/$(fullpkgname).zip: $(DISTREL_DICTDZ_FILES) $(DISTREL_INDEX_FILES) $(DISTREL_RST_FILES) $(DISTREL_WWW_HTML_FILES) $(BUILD_SCRIPTS)
+dist/$(fullpkgname).zip: $(DISTREL_DEP)
 	rm -rf $@
 	cd $(dir $@) && zip -r $(notdir $@) $(fullpkgname)