summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-03-13 22:37:14 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-13 23:27:01 -0700
commit6044c22741d11277057309ff4d1bf3a59e61d272 (patch)
tree0a4844a379e2d2fc62d63d681032675bc66e8d49 /Makefile
parentfaf7b28b2095077903f9997ad4b4d5ef527c8883 (diff)
downloadsubsurface-6044c22741d11277057309ff4d1bf3a59e61d272.tar.gz
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 <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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 \