From 6044c22741d11277057309ff4d1bf3a59e61d272 Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Wed, 13 Mar 2013 22:37:14 +0100 Subject: Only include .po files that has a companion .aliases file Disabled translations have a .disabled file instead of an .aliases file. Without this patch I couldn't make subsurface after a tx pull (when testing translations). This patch makes the .aliases file an explicit requirement for a valid translation. Signed-off-by: Henrik Brautaset Aronsen Signed-off-by: Dirk Hohndel --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fd6cdc46a..0e2eb0ece 100644 --- a/Makefile +++ b/Makefile @@ -159,8 +159,8 @@ endif LIBS = $(LIBXML2) $(LIBXSLT) $(LIBSQLITE3) $(LIBGTK) $(LIBGCONF2) $(LIBDIVECOMPUTER) $(EXTRALIBS) $(LIBZIP) -lpthread -lm $(LIBOSMGPSMAP) $(LIBSOUP) $(LIBWINSOCK) -MSGLANGS=$(notdir $(wildcard po/*po)) -MSGOBJS=$(addprefix share/locale/,$(MSGLANGS:.po=.UTF-8/LC_MESSAGES/subsurface.mo)) +MSGLANGS=$(notdir $(wildcard po/*.aliases)) +MSGOBJS=$(addprefix share/locale/,$(MSGLANGS:.aliases=.UTF-8/LC_MESSAGES/subsurface.mo)) OBJS = main.o dive.o time.o profile.o info.o equipment.o divelist.o deco.o planner.o \ parse-xml.o save-xml.o libdivecomputer.o print.o uemis.o uemis-downloader.o \ -- cgit v1.2.3-70-g09d2