diff options
author | phintuka <phintuka> | 2013-10-02 07:50:06 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2013-10-02 07:50:06 +0000 |
commit | fe17a9f205fdad8109616599881d964f8d1943a5 (patch) | |
tree | b925a49c2465245d0be178805196f22a35e16c41 | |
parent | 6231b026d82551567ba4d0f54f6ba6791e345dfe (diff) | |
download | xineliboutput-fe17a9f205fdad8109616599881d964f8d1943a5.tar.gz xineliboutput-fe17a9f205fdad8109616599881d964f8d1943a5.tar.bz2 |
Respect DESTDIR when installing I18Nmsgs. Closes #85.
(Thanks to Chris Mayo)
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ # See the main source file 'xineliboutput.c' for copyright information and # how to reach the author. # -# $Id: Makefile,v 1.113 2013-10-02 07:27:38 phintuka Exp $ +# $Id: Makefile,v 1.114 2013-10-02 07:50:06 phintuka Exp $ # # The official name of this plugin. @@ -278,7 +278,7 @@ $(sort $(OBJS_SXFE) $(OBJS_FBFE) $(OBJS_XINE)): PODIR = po I18Npo = $(wildcard $(PODIR)/*.po) I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) -I18Nmsgs = $(addprefix $(PREFIX)/$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) +I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) I18Npot = $(PODIR)/$(PLUGIN).pot %.mo: %.po @@ -291,7 +291,7 @@ $(I18Npot): $(wildcard *.c) msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< @touch $@ -$(I18Nmsgs): $(PREFIX)/$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo +$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo ifeq ($(XINELIBOUTPUT_VDRPLUGIN), yes) @echo Installing $^ install -D -m644 $< $@ |