A way to uninstall old C5 dictionaries.
--- a/Makefile Wed Mar 23 23:45:30 2016 +0200
+++ b/Makefile Thu Mar 24 00:14:17 2016 +0200
@@ -333,11 +333,24 @@
$(INSTALL_DATA) $$f $(datadir); \
done
+OLD_DICT_FILES := gadict-abbr.dict-c5 gadict-adjective-en-ru.dict-c5 \
+gadict-adverb-en-ru.dict-c5 gadict-conjunction-en-ru.dict-c5 \
+gadict-en-ru.dict-c5 gadict-irregular-verbs-en-ru.dict-c5 \
+gadict-numeral-en-ru.dict-c5 gadict-phrasal-verbs-en-ru.dict-c5 \
+gadict-preposition-en-ru.dict-c5 gadict-pronoun-en-ru.dict-c5 \
+gadict-regular-verbs-en-ru.dict-c5
+
+OLD_DICTDZ_FILES := $(OLD_DICT_FILES:.dict-c5=.dict.dz)
+OLD_INDEX_FILES := $(OLD_DICT_FILES:.dict-c5=.index)
+
.PHONY: uninstall
uninstall:
for f in $(DICTDZ_FILES) $(INDEX_FILES); do \
rm -f $(datadir)/$$f; \
done
+ for f in $(OLD_DICTDZ_FILES) $(OLD_INDEX_FILES); do \
+ rm -f $(datadir)/$$f; \
+ done
################################################################
# Documentation targets.