diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-04-13 22:23:45 -0700 |
---|---|---|
committer | Thiago Macieira <thiago@macieira.org> | 2013-04-23 00:06:32 -0700 |
commit | 17ea074dc0dc438a918d4e4fa1e5197ecec8217b (patch) | |
tree | 418b5107b08940a8d5c80b3e8a751d5afb204618 | |
parent | f94b6bbefd1cef992fbc71808603612a6ee2f793 (diff) | |
download | subsurface-17ea074dc0dc438a918d4e4fa1e5197ecec8217b.tar.gz |
Prettify the msgfmt and linking arguments
Signed-off-by: Thiago Macieira <thiago@macieira.org>
-rw-r--r-- | Rules.mk | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -41,7 +41,8 @@ ALL_OBJS = $(OBJS) $(MOC_OBJS) all: $(NAME) $(NAME): gen_version_file $(ALL_OBJS) $(MSGOBJS) $(INFOPLIST) - $(CXX) $(LDFLAGS) -o $(NAME) $(ALL_OBJS) $(LIBS) + @$(PRETTYECHO) ' LINK' $(NAME) + $(COMPILE_PREFIX)$(CXX) $(LDFLAGS) -o $(NAME) $(ALL_OBJS) $(LIBS) gen_version_file $(VERSION_FILE): ifneq ($(STORED_VERSION_STRING),$(VERSION_STRING)) @@ -176,8 +177,9 @@ ui_%.h: qt-ui/%.ui $(COMPILE_PREFIX)$(UIC) $< -o qt-ui/$@ share/locale/%.UTF-8/LC_MESSAGES/subsurface.mo: po/%.po po/%.aliases - mkdir -p $(dir $@) - msgfmt -c -o $@ po/$*.po + @$(PRETTYECHO) ' MSGFMT' $*.po + @mkdir -p $(dir $@) + $(COMPILE_PREFIX)msgfmt -c -o $@ po/$*.po @-if test -s po/$*.aliases; then \ for ALIAS in `cat po/$*.aliases`; do \ mkdir -p share/locale/$$ALIAS/LC_MESSAGES; \ |