confsubst = $(srcdir)/confsubst.in
mkdir_p = $(srcdir)/config/install-sh -d
+V_SUBST = $(V_SUBST_$(V))
+V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
+V_SUBST_0 = @echo " SUBST $@";
+SUBST = $(V_SUBST)$(confsubst)
+
###--------------------------------------------------------------------------
### Main scripts.
EXTRA_DIST += mklinks.in
mklinks: mklinks.in Makefile
- $(confsubst) $(srcdir)/mklinks.in >$@.new \
+ $(SUBST) $(srcdir)/mklinks.in >$@.new \
pkgdatadir=$(pkgdatadir) VERSION=$(VERSION)
- chmod +x $@.new
- mv $@.new $@
+ $(AM_V_at)chmod +x $@.new
+ $(AM_V_at)mv $@.new $@
## findlinks
bin_SCRIPTS += findlinks
EXTRA_DIST += findlinks.in
findlinks: findlinks.in Makefile
- $(confsubst) $(srcdir)/findlinks.in >$@.new \
+ $(SUBST) $(srcdir)/findlinks.in >$@.new \
pkgdatadir=$(pkgdatadir) VERSION=$(VERSION)
- chmod +x $@.new
- mv $@.new $@
+ $(AM_V_at)chmod +x $@.new
+ $(AM_V_at)mv $@.new $@
## mdw-setup
bin_SCRIPTS += mdw-setup
EXTRA_DIST += confsubst.in
confsubst: confsubst.in Makefile
- $(confsubst) $(srcdir)/confsubst.in >$@.new \
- VERSION=$(VERSION)
- chmod +x $@.new
- mv $@.new $@
+ $(SUBST) $(srcdir)/confsubst.in >$@.new VERSION=$(VERSION)
+ $(AM_V_at)chmod +x $@.new
+ $(AM_V_at)mv $@.new $@
## auto-version
pkgdata_SCRIPTS += auto-version
EXTRA_DIST += auto-version.in
auto-version: auto-version.in Makefile
- $(confsubst) $(srcdir)/auto-version.in >$@.new \
- VERSION=$(VERSION)
- chmod +x $@.new
- mv $@.new $@
+ $(SUBST) $(srcdir)/auto-version.in >$@.new VERSION=$(VERSION)
+ $(AM_V_at)chmod +x $@.new
+ $(AM_V_at)mv $@.new $@
## Testsuites.
pkgdata_DATA += autotest.am