mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-19 14:36:35 +02:00
Revert commit 312d0c3
(localization/gettext)
There were serious problems with branch merging that need to be resolved first
This commit is contained in:
@ -14,7 +14,6 @@ help:
|
||||
@echo " DISABLE_AV: Set to \"1\" to force building without audio call support"
|
||||
@echo " DISABLE_SOUND_NOTIFY: Set to \"1\" to force building without sound notification support"
|
||||
@echo " DISABLE_DESKTOP_NOTIFY: Set to \"1\" to force building without desktop notifications support"
|
||||
@echo " DISABLE_LOCALIZATION: Set to \"1\" to force building without localization support"
|
||||
@echo " USER_CFLAGS: Add custom flags to default CFLAGS"
|
||||
@echo " USER_LDFLAGS: Add custom flags to default LDFLAGS"
|
||||
@echo " PREFIX: Specify a prefix directory for binaries, data files,... (default is \"$(abspath $(PREFIX))\")"
|
||||
|
@ -8,17 +8,6 @@ install: $(BUILD_DIR)/toxic
|
||||
@mkdir -p $(abspath $(DESTDIR)/$(APPDIR))
|
||||
@install -m 0644 $(MISC_DIR)/$(DESKFILE) $(abspath $(DESTDIR)/$(APPDIR)/$(DESKFILE))
|
||||
|
||||
@if [ -z "$(DISABLE_LOCALIZATION)" -o "$(DISABLE_LOCALIZATION)" = "0" ]; then \
|
||||
echo "Installing translations" ; \
|
||||
for i in $(LANGS) ; do \
|
||||
if [ ! -e $(TRANSLATIONS_DIR)/$$i.mo ]; then \
|
||||
continue ; \
|
||||
fi ; \
|
||||
mkdir -p $(abspath $(DESTDIR)/$(LOCALEDIR)/$$i/LC_MESSAGES) ; \
|
||||
install -m 0644 $(TRANSLATIONS_DIR)/$$i.mo $(abspath $(DESTDIR)/$(LOCALEDIR)/$$i/LC_MESSAGES/toxic.mo) ; \
|
||||
done ; \
|
||||
fi
|
||||
|
||||
@echo "Installing data files"
|
||||
@mkdir -p $(abspath $(DESTDIR)/$(DATADIR))
|
||||
@for f in $(DATAFILES) ; do \
|
||||
|
Reference in New Issue
Block a user