chiark / gitweb /
check-bkp-status: New program writes reports about backups.
[rsync-backup] / Makefile.am
index 413d541b16792014ddd10e9a574f57647a8484c6..90618b8d1f930f98a4269c76756d3e6caef5655a 100644 (file)
@@ -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