Makefiles: Add $(AM_V_GEN) and $(AM_V_at) to a few more rules.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 6 Jan 2016 01:52:21 +0000 (17:52 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 6 Jan 2016 01:52:21 +0000 (17:52 -0800)
This makes the abbreviated "make" output more effective.

po/automake.mk
src/libpspp/automake.mk
src/ui/gui/automake.mk

index 138f6ce333f9d067a92730839d7c167d6bbf84d4..2936a9a83f78bdbdfcdcf69ee82d0894be982bc9 100644 (file)
@@ -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:
index e6ebd251e1741898fcb3b158b0098eeeca8b7884..ca8bac6b4996ec71126c423113039c7c32c2d82b 100644 (file)
@@ -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 $@
index 10b315061a05973db6b05125824ab22c8b0be78e..82590e6e1a6ba1918cd857b8b8e995b1c31b8e0e 100644 (file)
@@ -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% *<property name="help[-_]page">\([^<]*\)</property>%//*[@id='"'"'\1'"'"']%' \
        -e 's%#%'"'"']/*[@id='"'"'%g' > $@