From fa97b86cfb9778dddc764215a6fd34a0ff9d081b Mon Sep 17 00:00:00 2001 From: phintuka Date: Wed, 22 Apr 2015 08:23:48 +0000 Subject: Skip i18n when building only frontends --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 802ea77a..f0ac1f6c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # See the main source file 'xineliboutput.c' for copyright information and # how to reach the author. # -# $Id: Makefile,v 1.119 2014-06-17 11:22:15 phintuka Exp $ +# $Id: Makefile,v 1.120 2015-04-22 08:23:48 phintuka Exp $ # # The official name of this plugin. @@ -279,6 +279,7 @@ $(sort $(OBJS_SXFE) $(OBJS_FBFE) $(OBJS_XINE)): %.o: %.c ### Internationalization (I18N): PODIR = po +ifeq ($(XINELIBOUTPUT_VDRPLUGIN), yes) I18Npo = $(wildcard $(PODIR)/*.po) I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) @@ -295,7 +296,6 @@ $(I18Npot): $(wildcard *.c) @touch $@ $(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo -ifeq ($(XINELIBOUTPUT_VDRPLUGIN), yes) @echo Installing $^ install -D -m644 $< $@ endif -- cgit v1.2.3