From f444ae08663e9855a0abd915caa5595f14b3ecdd Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 10 Oct 2015 10:16:05 +0200 Subject: [PATCH] Fix *install* targets. Fixes #47 by removing the feature, as it seems that nobody uses it. If you would like to see a feature like this again, please open a new bug and reference either this commit or issue #47. --- Makefile.in | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7ff1f17..45b5af5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -77,7 +77,7 @@ strip: $(PRPL_LIBNAME) $(STRIP) --strip-unneeded $(PRPL_LIBNAME) .PHONY: install -install: $(PRPL_LIBNAME) +install: $(PRPL_LIBNAME) $(LOCALES) mkdir -m $(DIR_PERM) -p $(DESTDIR)$(PLUGIN_DIR_PURPLE) install -m $(FILE_PERM) $(PRPL_LIBNAME) $(DESTDIR)$(PLUGIN_DIR_PURPLE)/$(PRPL_NAME) mkdir -m $(DIR_PERM) -p $(DESTDIR)/etc/telegram-purple @@ -101,11 +101,6 @@ endif install -m $(FILE_PERM) po/$$lang.mo $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo; \ done -.PHONY: local_install -local_install: - mkdir -m $(DIR_PERM) -p ${HOME}/.purple/plugins/$(PRPL_NAME) - install $(PRPL_LIBNAME) ${HOME}/.purple/plugins/$(PRPL_NAME) - .PHONY: uninstall uninstall: rm -f $(DESTDIR)$(PLUGIN_DIR_PURPLE)/$(PRPL_NAME) @@ -115,7 +110,8 @@ uninstall: 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 ${HOME}/.purple/plugins/$(PRPL_NAME) - for lang in $(shell cat po/LINGUAS); do \ +# TODO: Delete all installed .mo's, no matter what LINGUAS says. + @for lang in $(shell cat po/LINGUAS); do \ echo "removing $(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo"; \ rm -f $(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo; \ done