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.
This commit is contained in:
parent
d83d1df00d
commit
f444ae0866
1 changed files with 3 additions and 7 deletions
10
Makefile.in
10
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
|
||||
|
|
Loading…
Add table
Reference in a new issue