summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-04-13 22:23:45 -0700
committerGravatar Thiago Macieira <thiago@macieira.org>2013-04-23 00:06:32 -0700
commit17ea074dc0dc438a918d4e4fa1e5197ecec8217b (patch)
tree418b5107b08940a8d5c80b3e8a751d5afb204618
parentf94b6bbefd1cef992fbc71808603612a6ee2f793 (diff)
downloadsubsurface-17ea074dc0dc438a918d4e4fa1e5197ecec8217b.tar.gz
Prettify the msgfmt and linking arguments
Signed-off-by: Thiago Macieira <thiago@macieira.org>
-rw-r--r--Rules.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/Rules.mk b/Rules.mk
index 844e843ba..fd26d74d0 100644
--- a/Rules.mk
+++ b/Rules.mk
@@ -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; \