diff options
author | phintuka <phintuka> | 2010-11-25 13:58:16 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-11-25 13:58:16 +0000 |
commit | 3f775cb328b3c3aef9d37eacaa25ca954988d098 (patch) | |
tree | 2d71229b79a431d9c901f4a39abfbb253dc612ef | |
parent | 2adb26d51cd4ce0ac1206d2ee1c8fc870bd56850 (diff) | |
download | xineliboutput-3f775cb328b3c3aef9d37eacaa25ca954988d098.tar.gz xineliboutput-3f775cb328b3c3aef9d37eacaa25ca954988d098.tar.bz2 |
Do not build i18n files if i18n disabled in configure
(Thanks to Christian Ruppert)
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 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.99 2010-11-23 13:46:59 phintuka Exp $ +# $Id: Makefile,v 1.100 2010-11-25 13:58:16 phintuka Exp $ # # The official name of this plugin. @@ -273,7 +273,7 @@ $(sort $(OBJS_SXFE) $(OBJS_FBFE) $(OBJS_XINE)): $(CC) $(CFLAGS) -c $(DEFINES) $(INCLUDES) $(CFLAGS_X11) $(OPTFLAGS) -o $@ $< ### Internationalization (I18N): - +ifeq ($(HAVE_I18N), yes) PODIR = po LOCALEDIR ?= $(DESTDIR)$(VDRDIR)/locale I18Npo = $(wildcard $(PODIR)/*.po) @@ -293,6 +293,7 @@ $(I18Npot): $(wildcard *.c) $(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo @mkdir -p $(dir $@) cp $< $@ +endif .PHONY: i18n i18n: $(I18Nmsgs) @@ -413,6 +414,7 @@ clean: tools/*.o tools/*~ tools/*.flc xine/*.o xine/*~ \ xine/*.flc $(VDR_FBFE) $(VDR_SXFE) mpg2c black_720x576.c \ nosignal_720x576.c vdrlogo_720x576.c vdr-sxfe vdr-fbfe \ - $(PODIR)/*.mo $(PODIR)/*.pot \ features.h config.mak configure.log - +ifeq ($(HAVE_I18N), yes) + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot +endif |