Include import files in tab format for SRS to release bundle.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 11 Sep 2016 22:06:13 +0300
changeset 545 15e5f62b2f6f
parent 544 434efba6b947
child 546 3668e902319f
Include import files in tab format for SRS to release bundle.
Makefile
--- a/Makefile	Sun Sep 11 22:02:49 2016 +0300
+++ b/Makefile	Sun Sep 11 22:06:13 2016 +0300
@@ -295,8 +295,9 @@
 DISTREL_INDEX_FILES := $(patsubst %,dist/$(fullpkgname)/dictd/%,$(notdir $(INDEX_FILES)))
 DISTREL_RST_FILES := $(patsubst %,dist/$(fullpkgname)/doc/txt/%,$(notdir $(RST_FILES)))
 DISTREL_HTML_FILES := $(patsubst %,dist/$(fullpkgname)/doc/html/%,$(notdir $(RST_HTML_FILES)))
+DISTREL_SRS_TAB_FILES := $(patsubst %,dist/$(fullpkgname)/srs/%,$(notdir $(SRS_TAB_FILES)))
 
-dist/$(fullpkgname).tar.gz: $(DISTREL_DICTDZ_FILES) $(DISTREL_INDEX_FILES) $(DISTREL_RST_FILES) $(DISTREL_HTML_FILES) $(BUILD_SCRIPTS)
+dist/$(fullpkgname).tar.gz: $(DISTREL_DICTDZ_FILES) $(DISTREL_INDEX_FILES) $(DISTREL_SRS_TAB_FILES) $(DISTREL_RST_FILES) $(DISTREL_HTML_FILES) $(BUILD_SCRIPTS)
 	rm -rf $@
 	tar zcf $@ -C dist/ $(fullpkgname)
 
@@ -307,13 +308,16 @@
 $(DISTREL_DICTDZ_FILES) $(DISTREL_INDEX_FILES): dist/$(fullpkgname)/dictd/%: dist/dictd/% | dist/$(fullpkgname)/dictd/
 	cp $< $@
 
+$(DISTREL_SRS_TAB_FILES): dist/$(fullpkgname)/srs/%: dist/srs/% | dist/$(fullpkgname)/srs/
+	cp $< $@
+
 $(DISTREL_RST_FILES): dist/$(fullpkgname)/doc/txt/%: www/% | dist/$(fullpkgname)/doc/txt/
 	cp $< $@
 
 $(DISTREL_HTML_FILES): dist/$(fullpkgname)/doc/html/%: dist/www/% | dist/$(fullpkgname)/doc/html/
 	cp $< $@
 
-$(patsubst %,dist/$(fullpkgname)/%, dictd/ doc/txt/ doc/html/):
+$(patsubst %,dist/$(fullpkgname)/%, dictd/ srs/ doc/txt/ doc/html/):
 	mkdir -p $@
 
 .PHONY: dist-src