equal
deleted
inserted
replaced
146 DICT_FILES := $(C5_FILES:.c5=.dict) |
146 DICT_FILES := $(C5_FILES:.c5=.dict) |
147 DICTDZ_FILES := $(C5_FILES:.c5=.dict.dz) |
147 DICTDZ_FILES := $(C5_FILES:.c5=.dict.dz) |
148 INDEX_FILES := $(C5_FILES:.c5=.index) |
148 INDEX_FILES := $(C5_FILES:.c5=.index) |
149 |
149 |
150 SRS_TAB_FILES := $(patsubst %.gadict,dist/srs/%.tab.txt,$(GADICT_FILES)) |
150 SRS_TAB_FILES := $(patsubst %.gadict,dist/srs/%.tab.txt,$(GADICT_FILES)) |
151 SRS_ANKI_FILES := $(patsubst %.gadict,dist/anki/%.apkg,$(GADICT_FILES)) |
151 SRS_ANKI_FILES := $(patsubst %.gadict,dist/anki/%.apkg,$(GADICT_FILES)) dist/anki/gaphrase.apkg |
152 |
152 |
153 DICT_HTML_FILES := $(patsubst %.gadict,dist/html/%.html,$(GADICT_FILES)) |
153 DICT_HTML_FILES := $(patsubst %.gadict,dist/html/%.html,$(GADICT_FILES)) |
154 |
154 |
155 RST_TMPL_FILE = dist/misc/rst.tmpl |
155 RST_TMPL_FILE = dist/misc/rst.tmpl |
156 RST_CSS_FILE = www/tmpl/rst.css |
156 RST_CSS_FILE = www/tmpl/rst.css |
677 dist/anki/gadict.apkg: gadict.gadict $(GADICT_DEL_FILE) py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/ |
677 dist/anki/gadict.apkg: gadict.gadict $(GADICT_DEL_FILE) py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/ |
678 PYTHONPATH=$(ANKI_PY_DIR): LC_ALL=en_US.utf8 python3 -B py/gadict_srs_anki.py -name="gadict_en-ru+uk" -rich $(GADICT_DEL_OPT) $(FREQLIST_OPT) $< $@ |
678 PYTHONPATH=$(ANKI_PY_DIR): LC_ALL=en_US.utf8 python3 -B py/gadict_srs_anki.py -name="gadict_en-ru+uk" -rich $(GADICT_DEL_OPT) $(FREQLIST_OPT) $< $@ |
679 |
679 |
680 dist/anki/gadict_voa.apkg: gadict_voa.gadict py/gadict.py py/gadict_srs_anki.py $(VOA_FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/ |
680 dist/anki/gadict_voa.apkg: gadict_voa.gadict py/gadict.py py/gadict_srs_anki.py $(VOA_FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/ |
681 PYTHONPATH=$(ANKI_PY_DIR): LC_ALL=en_US.utf8 python3 -B py/gadict_srs_anki.py -name="gadict_voa" $(VOA_FREQLIST_OPT) $< $@ |
681 PYTHONPATH=$(ANKI_PY_DIR): LC_ALL=en_US.utf8 python3 -B py/gadict_srs_anki.py -name="gadict_voa" $(VOA_FREQLIST_OPT) $< $@ |
|
682 |
|
683 dist/anki/gaphrase.apkg: gadict.gaphrase py/gaphrase_srs_anki.py $(MAKEFILE_LIST) | dist/anki/ |
|
684 PYTHONPATH=$(ANKI_PY_DIR): LC_ALL=en_US.utf8 python3 -B py/gaphrase_srs_anki.py -name="gaphrase" $< $@ |
682 |
685 |
683 # General rules. |
686 # General rules. |
684 dist/anki/%.apkg: %.gadict %.del py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/ |
687 dist/anki/%.apkg: %.gadict %.del py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/ |
685 PYTHONPATH=$(ANKI_PY_DIR): LC_ALL=en_US.utf8 python3 -B py/gadict_srs_anki.py -name=$* -rich -delfile=$*.del $(FREQLIST_OPT) $< $@ |
688 PYTHONPATH=$(ANKI_PY_DIR): LC_ALL=en_US.utf8 python3 -B py/gadict_srs_anki.py -name=$* -rich -delfile=$*.del $(FREQLIST_OPT) $< $@ |
686 |
689 |