X-Git-Url: https://git.distorted.org.uk/~mdw/rsync-backup/blobdiff_plain/e0ff797b44481f8e84a16ce7af0ab5be2a4b244e..d28417860c4710ba74cb595608177cc1ffdfb976:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 413d541..8f4c439 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,9 +54,9 @@ SUBSTVARS = \ pkgdatadir="$(pkgdatadir)" \ logdir="$(logdir)" -V_SUBST = $(V_SUBST_$V) -V_SUBST_= $(V_SUBST_$(AM_DEFAULT_VERBOSITY)) -V_SUBST_0 = @printf " SUBST %s\n" $@; +V_SUBST = $(V_SUBST_@AM_V@) +V_SUBST_= $(V_SUBST_@AM_DEFAULT_V@) +V_SUBST_0 = @printf " SUBST %s\n" $@; SUBST = $(V_SUBST)$(confsubst) @@ -99,6 +99,16 @@ update-bkp-index: update-bkp-index.in Makefile chmod +x update-bkp-index.new && \ mv update-bkp-index.new update-bkp-index +sbin_SCRIPTS += check-bkp-status +dist_man_MANS += check-bkp-status.8 +CLEANFILES += check-bkp-status +EXTRA_DIST += check-bkp-status.in +check-bkp-status: check-bkp-status.in Makefile + $(SUBST) >check-bkp-status.new \ + $(srcdir)/check-bkp-status.in $(SUBSTVARS) && \ + chmod +x check-bkp-status.new && \ + mv check-bkp-status.new check-bkp-status + bin_SCRIPTS += fshash dist_man_MANS += fshash.1 CLEANFILES += fshash