[PATCH] Only include .po files that has a companion .aliases file
subsurface at henrik.synth.no
subsurface at henrik.synth.no
Wed Mar 13 14:37:14 PDT 2013
From: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
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 at henrik.synth.no>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index fd6cdc4..0e2eb0e 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 \
--
1.8.1.3
More information about the subsurface
mailing list