mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
50420d48d9
commit
77ebc2f4c8
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue