]> arthur.barton.de Git - backup-script.git/blobdiff - bin/Makefile
backup-audit: Exclude quota status files in / directory
[backup-script.git] / bin / Makefile
index d665571f7df59f71e2a3904e9ef7c29c8c9265a0..3162e4f3cbb1ba9a2de47bfef04d6e671c610827 100644 (file)
@@ -1,6 +1,6 @@
 #
 # backup-script system for cloning systems using rsync
-# Copyright (c)2008-2015 Alexander Barton <alex@barton.de>
+# Copyright (c)2008-2017 Alexander Barton <alex@barton.de>
 #
 
 include ../lib/Makefile.ax
@@ -14,3 +14,11 @@ install-local:
         $(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper
        install -o $(USER) -g $(GROUP) -m 755 backup-status \
         $(DESTDIR)$(PREFIX)/sbin/backup-status
+       install -o $(USER) -g $(GROUP) -m 755 backup-audit \
+        $(DESTDIR)$(PREFIX)/sbin/backup-audit
+
+check-local:
+       ./backup-script --help 2>&1 | grep -F 'Usage: ' >/dev/null
+       ./backup-script --help 2>&1 | grep -F 'Configuration file is "' >/dev/null
+       ./backup-status --help | grep -F 'Usage: ' >/dev/null
+       ./backup-audit --help | grep -F 'Usage: ' >/dev/null