220 for f in $(notdir $(DICTDZ_FILES) $(INDEX_FILES) $(PNG_FILES)); do \ |
220 for f in $(notdir $(DICTDZ_FILES) $(INDEX_FILES) $(PNG_FILES)); do \ |
221 rm -f $(datadir)/$$f; \ |
221 rm -f $(datadir)/$$f; \ |
222 done |
222 done |
223 rm -f $(patsubst %,$(elispdir)/%,$(notdir $(EL_FILES))) $(patsubst %.el,$(elispdir)/%.elc,$(notdir $(EL_FILES))) |
223 rm -f $(patsubst %,$(elispdir)/%,$(notdir $(EL_FILES))) $(patsubst %.el,$(elispdir)/%.elc,$(notdir $(EL_FILES))) |
224 |
224 |
225 .PHONY: upload-anki-android |
225 .PHONY: android-upload-anki |
226 upload-anki-android: $(SRS_ANKI_FILES) |
226 android-upload-anki: $(SRS_ANKI_FILES) |
227 \ |
227 \ |
228 for f in $(SRS_ANKI_FILES); do \ |
228 for f in $(SRS_ANKI_FILES); do \ |
229 $(ADB) push $$f /sdcard/AnkiDroid/; \ |
229 $(ADB) push $$f /sdcard/AnkiDroid/; \ |
|
230 done |
|
231 |
|
232 goldendict_dir := /sdcard/GoldenDict/ |
|
233 |
|
234 .PHONY: android-upload-goldendict |
|
235 android-upload-goldendict: dist/dictd/gadict.dict.dz dist/dictd/gadict.index |
|
236 \ |
|
237 $(ADB) shell mkdir $(goldendict_dir); \ |
|
238 for f in dist/dictd/gadict.dict.dz dist/dictd/gadict.index; do \ |
|
239 $(ADB) push $$f $(goldendict_dir); \ |
230 done |
240 done |
231 |
241 |
232 ################################################################ |
242 ################################################################ |
233 # Deploy/release targets. |
243 # Deploy/release targets. |
234 |
244 |