Old name for 'gadict_en-ru+uk' should be passed to keep hash values the same
for synchronization.
--- a/Makefile Fri Mar 03 14:34:55 2017 +0200
+++ b/Makefile Fri Mar 03 14:42:05 2017 +0200
@@ -566,14 +566,22 @@
.PHONY: anki
anki: $(SRS_ANKI_FILES)
+# Specific rules (due to renames or other customization).
+dist/anki/gadict.apkg: gadict.gadict gadict.del py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/
+ PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py -name="gadict_en-ru+uk" -rich -delfile=gadict.del $(FREQLIST_OPT) $< $@
+
+dist/anki/gadict.apkg: gadict.gadict py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/
+ PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py -name="gadict_en-ru+uk" -rich $(FREQLIST_OPT) $< $@
+
+dist/anki/gadict_voa.apkg: gadict_voa.gadict py/gadict.py py/gadict_srs_anki.py $(VOA_FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/
+ PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py -name="gadict_voa" $(VOA_FREQLIST_OPT) $< $@
+
+# General rules.
dist/anki/%.apkg: %.gadict %.del py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/
PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py -name=$* -rich -delfile=$*.del $(FREQLIST_OPT) $< $@
-dist/anki/gadict_voa.apkg: gadict_voa.gadict py/gadict.py py/gadict_srs_anki.py $(VOA_FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/
- PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py -name=gadict_voa $(VOA_FREQLIST_OPT) $< $@
-
dist/anki/%.apkg: %.gadict py/gadict.py py/gadict_srs_anki.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/anki/
- PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py -name=$* -rich -delfile=$*.del $(FREQLIST_OPT) $< $@
+ PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py -name=$* -rich $(FREQLIST_OPT) $< $@
.PHONY: tab
tab: $(SRS_TAB_FILES)