Makefile
changeset 1075 a8fad275310b
parent 1008 dc218f2b784d
child 1142 ce538f6b30b1
--- a/Makefile	Sat Jul 07 23:04:49 2018 +0300
+++ b/Makefile	Sun Jul 08 16:17:39 2018 +0300
@@ -480,6 +480,8 @@
 $(eval $(call FREQ_MACRO,FREQLIST,var,VOA,dist/wordlist/voa.list))
 $(eval $(call FREQ_MACRO,FREQLIST,var,BSL,wordlist/bsl.var))
 $(eval $(call FREQ_MACRO,FREQLIST,var,TSL,wordlist/tsl.var))
+$(eval $(call FREQ_MACRO,FREQLIST,var,KET,wordlist/ket.var))
+$(eval $(call FREQ_MACRO,FREQLIST,var,PET,wordlist/pet.var))
 
 # BNC_COCA_BASEWORD := $(wildcard wordlist/bnc+coca/basewrd[0-1]?.txt)
 # FREQ_DEP += $(BNC_COCA_BASEWORD)
@@ -508,6 +510,14 @@
 FREQ_DEP += $(NAWL_BASEWORD)
 FREQ_FILTER += $(patsubst %,-b:%,$(NAWL_BASEWORD))
 
+KET_BASEWORD := wordlist/ket.var
+FREQ_DEP += $(KET_BASEWORD)
+FREQ_FILTER += $(patsubst %,-b:%,$(KET_BASEWORD))
+
+PET_BASEWORD := wordlist/pet.var
+FREQ_DEP += $(PET_BASEWORD)
+FREQ_FILTER += $(patsubst %,-b:%,$(PET_BASEWORD))
+
 VOA_BASEWORD := dist/wordlist/voa.list
 FREQ_DEP += $(VOA_BASEWORD)
 FREQ_FILTER += $(patsubst %,-b:%,$(VOA_BASEWORD))
@@ -537,6 +547,10 @@
 	python3 -B py/gadict_freq.py -b:dist/wordlist/gadict.list +b:wordlist/bsl.var
 	@echo ===== TSL =====
 	python3 -B py/gadict_freq.py -b:dist/wordlist/gadict.list +b:wordlist/tsl.var
+	@echo ===== KET =====
+	python3 -B py/gadict_freq.py -b:dist/wordlist/gadict.list +b:wordlist/ket.var
+	@echo ===== PET =====
+	python3 -B py/gadict_freq.py -b:dist/wordlist/gadict.list +b:wordlist/pet.var
 
 .PHONY: missing-speakout
 missing-speakout: dist/wordlist/gadict.list $(FREQ_DEP) $(BUILD_SCRIPTS)
@@ -567,6 +581,8 @@
 stat NAWL +f wordlist/nawl.freq; \
 stat BSL +b wordlist/bsl.var; \
 stat TSL +b wordlist/tsl.var; \
+stat KET +b wordlist/ket.var; \
+stat PET +b wordlist/pet.var; \
 echo "   ==== ===== ===== ===="; \
 }
 endef