summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-04-22 23:18:36 -0700
committerGravatar Thiago Macieira <thiago@macieira.org>2013-04-23 00:06:32 -0700
commit77ebc2f4c854748edaff6bc518e105b56f656a47 (patch)
treecf00c002a1845fe354305c309f803e9b0f203c95
parent50420d48d93a79866d34b0462625531257cb6151 (diff)
downloadsubsurface-77ebc2f4c854748edaff6bc518e105b56f656a47.tar.gz
Move the MSGOBJS variable definition a little further down
Move it closer to the actual rules. This is not a variable that we'll usually modify. Signed-off-by: Thiago Macieira <thiago@macieira.org>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 37dc3437d..c5f72ccf8 100644
--- a/Makefile
+++ b/Makefile
@@ -184,8 +184,6 @@ LIBS = $(LIBQT) $(LIBXML2) $(LIBXSLT) $(LIBSQLITE3) $(LIBGTK) $(LIBGCONF2) $(LIB
$(EXTRALIBS) $(LIBZIP) -lpthread -lm $(LIBOSMGPSMAP) $(LIBSOUP) $(LIBWINSOCK)
MSGLANGS=$(notdir $(wildcard po/*.po))
-MSGOBJS=$(addprefix share/locale/,$(MSGLANGS:.po=.UTF-8/LC_MESSAGES/subsurface.mo))
-
# Add files to the following variables if the auto-detection based on the
# filename fails
@@ -193,6 +191,8 @@ OBJS_NEEDING_MOC =
OBJS_NEEDING_UIC =
HEADERS_NEEDING_MOC =
+MSGOBJS=$(addprefix share/locale/,$(MSGLANGS:.po=.UTF-8/LC_MESSAGES/subsurface.mo))
+
# Add the objects for the header files which define QObject subclasses
HEADERS_NEEDING_MOC += $(shell grep -l -s 'Q_OBJECT' $(OBJS:.o=.h))
MOC_OBJS = $(HEADERS_NEEDING_MOC:.h=.moc.o)