diff --git a/Makefile.in b/Makefile.in index bd09141..07679b8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -105,6 +105,8 @@ install: $(PRPL_LIBNAME) $(LOCALE_MOS) install -m $(FILE_PERM) $(PRPL_LIBNAME) $(DESTDIR)$(PLUGIN_DIR_PURPLE)/$(PRPL_NAME) mkdir -m $(DIR_PERM) -p $(DESTDIR)/etc/telegram-purple install -m $(FILE_PERM) tg-server.tglpub $(DESTDIR)/etc/telegram-purple/server.tglpub + mkdir -m $(DIR_PERM) -p $(DESTDIR)$(datarootdir)/appdata + install -m $(FILE_PERM) telegram-purple.metainfo.xml $(DESTDIR)$(datarootdir)/appdata/telegram-purple.metainfo.xml ifeq ($(COPY_ICONS),no) @echo "Not copying icons due to configure-option --disable-icons." @echo " If you're using Finch, Empathy, or Telepathy, then this is a good idea." @@ -132,6 +134,7 @@ uninstall: rm -f $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16/telegram.png rm -f $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22/telegram.png rm -f $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48/telegram.png + rm -f $(DESTDIR)$(datarootdir)/appdata/telegram-purple.metainfo.xml # TODO: Delete all installed .mo's, no matter what LINGUAS says. @for lang in $(LOCALES); do \ echo "removing $(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo"; \