From: Ben Pfaff Date: Wed, 6 Jan 2016 01:52:21 +0000 (-0800) Subject: Makefiles: Add $(AM_V_GEN) and $(AM_V_at) to a few more rules. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=6b55442545f78ac54922e1a5b080b87b2b65f28c Makefiles: Add $(AM_V_GEN) and $(AM_V_at) to a few more rules. This makes the abbreviated "make" output more effective. --- diff --git a/po/automake.mk b/po/automake.mk index 138f6ce333..2936a9a83f 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -40,7 +40,7 @@ $(POTFILE): $(TRANSLATABLE_FILES) $(UI_FILES) src/ui/gui/gen-dot-desktop.sh $(AM_V_GEN)$(XGETTEXT) --directory=$(top_srcdir) $(XGETTEXT_OPTIONS) $(TRANSLATABLE_FILES) --language=C --keyword=_ --keyword=N_ -o $@,tmp $(AM_V_at)$(XGETTEXT) --directory=$(top_srcdir) $(XGETTEXT_OPTIONS) -j $(UI_FILES) --language=glade -o $@,tmp $(AM_V_at)$(XGETTEXT) --directory=$(top_srcdir) $(XGETTEXT_OPTIONS) -j src/ui/gui/gen-dot-desktop.sh --language=shell --keyword=TRANSLATE -o $@,tmp - $(SED) -e '/^"POT-Creation-Date: .*/d' $@,tmp > $@ + $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: .*/d' $@,tmp > $@ $(POFILES): $(POTFILE) $(AM_V_GEN)$(MSGMERGE) --quiet $(top_srcdir)/$@ $? -o $@,tmp @@ -48,7 +48,7 @@ $(POFILES): $(POTFILE) touch $@,tmp ; \ msgcat --use-first $(top_srcdir)/$@,aux $@,tmp -o $@,tmp; \ fi ; - $(SED) -e '/^"POT-Creation-Date: /d' $@,tmp > $@ + $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: /d' $@,tmp > $@ SUFFIXES += .po .gmo .po.gmo: diff --git a/src/libpspp/automake.mk b/src/libpspp/automake.mk index e6ebd251e1..ca8bac6b49 100644 --- a/src/libpspp/automake.mk +++ b/src/libpspp/automake.mk @@ -129,4 +129,4 @@ src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile $(AM_V_at)echo "const char *const authors[] = {" >> $@,tmp $(AM_V_at)$(SED) -e 's/^/ \"/' -e 's/$$/\",/' $(top_srcdir)/AUTHORS >> $@,tmp $(AM_V_at)echo "0 };" >> $@,tmp - mv $@,tmp $@ + $(AM_V_at)mv $@,tmp $@ diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index 10b315061a..82590e6e1a 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -54,7 +54,7 @@ UI_FILES = \ $(top_srcdir)/doc/help-pages-list: $(UI_FILES) - cat $^ | grep '"help[-_]page"' | \ + $(AM_V_GEN)cat $^ | grep '"help[-_]page"' | \ $(SED) -e 's% *\([^<]*\)%//*[@id='"'"'\1'"'"']%' \ -e 's%#%'"'"']/*[@id='"'"'%g' > $@